home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-05-21 | 71.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 33 37 3a 35 35 20 31 | 39 39 38 0a 3b 3b 3b 20 |:37:55 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 70 72 69 6d |s-20.3/l|isp/prim|
|000000a0| 2f 66 69 6c 65 73 2e 65 | 6c 0a 3b 3b 3b 20 65 6d |/files.e|l.;;; em|
|000000b0| 61 63 73 20 76 65 72 73 | 69 6f 6e 20 32 30 2e 34 |acs vers|ion 20.4|
|000000c0| 20 22 45 6d 65 72 61 6c | 64 22 20 58 45 6d 61 63 | "Emeral|d" XEmac|
|000000d0| 73 20 20 4c 75 63 69 64 | 2e 0a 3b 3b 3b 20 62 79 |s Lucid|..;;; by|
|000000e0| 74 65 63 6f 6d 70 20 76 | 65 72 73 69 6f 6e 20 32 |tecomp v|ersion 2|
|000000f0| 2e 32 35 20 58 45 6d 61 | 63 73 3b 20 32 32 2d 4d |.25 XEma|cs; 22-M|
|00000100| 61 72 2d 39 36 2e 0a 3b | 3b 3b 20 6f 70 74 69 6d |ar-96..;|;; optim|
|00000110| 69 7a 61 74 69 6f 6e 20 | 69 73 20 6f 6e 2e 0a 3b |ization |is on..;|
|00000120| 3b 3b 20 74 68 69 73 20 | 66 69 6c 65 20 75 73 65 |;; this |file use|
|00000130| 73 20 6f 70 63 6f 64 65 | 73 20 77 68 69 63 68 20 |s opcode|s which |
|00000140| 64 6f 20 6e 6f 74 20 65 | 78 69 73 74 20 69 6e 20 |do not e|xist in |
|00000150| 45 6d 61 63 73 20 31 39 | 2e 0a 0a 28 69 66 20 28 |Emacs 19|...(if (|
|00000160| 61 6e 64 20 28 62 6f 75 | 6e 64 70 20 27 65 6d 61 |and (bou|ndp 'ema|
|00000170| 63 73 2d 76 65 72 73 69 | 6f 6e 29 0a 09 20 28 6f |cs-versi|on).. (o|
|00000180| 72 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |r (and (|boundp '|
|00000190| 65 70 6f 63 68 3a 3a 76 | 65 72 73 69 6f 6e 29 20 |epoch::v|ersion) |
|000001a0| 65 70 6f 63 68 3a 3a 76 | 65 72 73 69 6f 6e 29 0a |epoch::v|ersion).|
|000001b0| 09 20 20 20 20 20 28 73 | 74 72 69 6e 67 2d 6c 65 |. (s|tring-le|
|000001c0| 73 73 70 20 65 6d 61 63 | 73 2d 76 65 72 73 69 6f |ssp emac|s-versio|
|000001d0| 6e 20 22 32 30 22 29 29 | 29 0a 20 20 20 20 28 65 |n "20"))|). (e|
|000001e0| 72 72 6f 72 20 22 60 66 | 69 6c 65 73 2e 65 6c 27 |rror "`f|iles.el'|
|000001f0| 20 77 61 73 20 63 6f 6d | 70 69 6c 65 64 20 66 6f | was com|piled fo|
|00000200| 72 20 45 6d 61 63 73 20 | 32 30 22 29 29 0a 0a 28 |r Emacs |20"))..(|
|00000210| 6f 72 20 28 62 6f 75 6e | 64 70 20 27 63 75 72 72 |or (boun|dp 'curr|
|00000220| 65 6e 74 2d 6c 6f 61 64 | 2d 6c 69 73 74 29 20 28 |ent-load|-list) (|
|00000230| 73 65 74 71 20 63 75 72 | 72 65 6e 74 2d 6c 6f 61 |setq cur|rent-loa|
|00000240| 64 2d 6c 69 73 74 20 6e | 69 6c 29 29 0a 0a 0a 28 |d-list n|il))...(|
|00000250| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 09 42 11 c2 |byte-cod|e "..B..|
|00000260| 09 42 11 c3 c4 c5 c6 c7 | c8 25 88 c3 c9 c5 ca c7 |.B......|.%......|
|00000270| c8 25 87 22 20 5b 63 6f | 64 69 6e 67 2d 73 79 73 |.%." [co|ding-sys|
|00000280| 74 65 6d 2d 66 6f 72 2d | 72 65 61 64 20 63 75 72 |tem-for-|read cur|
|00000290| 72 65 6e 74 2d 6c 6f 61 | 64 2d 6c 69 73 74 20 62 |rent-loa|d-list b|
|000002a0| 75 66 66 65 72 2d 66 69 | 6c 65 2d 63 6f 64 69 6e |uffer-fi|le-codin|
|000002b0| 67 2d 73 79 73 74 65 6d | 20 63 75 73 74 6f 6d 2d |g-system| custom-|
|000002c0| 64 65 63 6c 61 72 65 2d | 67 72 6f 75 70 20 62 61 |declare-|group ba|
|000002d0| 63 6b 75 70 20 6e 69 6c | 20 22 42 61 63 6b 75 70 |ckup nil| "Backup|
|000002e0| 73 20 6f 66 20 65 64 69 | 74 65 64 20 64 61 74 61 |s of edi|ted data|
|000002f0| 20 66 69 6c 65 73 2e 22 | 20 3a 67 72 6f 75 70 20 | files."| :group |
|00000300| 66 69 6c 65 73 20 66 69 | 6e 64 2d 66 69 6c 65 20 |files fi|nd-file |
|00000310| 22 46 69 6e 64 69 6e 67 | 20 61 6e 64 20 65 64 69 |"Finding| and edi|
|00000320| 74 69 6e 67 20 66 69 6c | 65 73 2e 22 5d 20 36 29 |ting fil|es."] 6)|
|00000330| 0a 28 63 75 73 74 6f 6d | 2d 64 65 63 6c 61 72 65 |.(custom|-declare|
|00000340| 2d 76 61 72 69 61 62 6c | 65 20 27 64 69 72 65 63 |-variabl|e 'direc|
|00000350| 74 6f 72 79 2d 61 62 62 | 72 65 76 2d 61 6c 69 73 |tory-abb|rev-alis|
|00000360| 74 20 27 6e 69 6c 20 22 | 2a 41 6c 69 73 74 20 6f |t 'nil "|*Alist o|
|00000370| 66 20 61 62 62 72 65 76 | 69 61 74 69 6f 6e 73 20 |f abbrev|iations |
|00000380| 66 6f 72 20 66 69 6c 65 | 20 64 69 72 65 63 74 6f |for file| directo|
|00000390| 72 69 65 73 2e 5c 6e 41 | 20 6c 69 73 74 20 6f 66 |ries.\nA| list of|
|000003a0| 20 65 6c 65 6d 65 6e 74 | 73 20 6f 66 20 74 68 65 | element|s of the|
|000003b0| 20 66 6f 72 6d 20 28 46 | 52 4f 4d 20 2e 20 54 4f | form (F|ROM . TO|
|000003c0| 29 2c 20 65 61 63 68 20 | 6d 65 61 6e 69 6e 67 20 |), each |meaning |
|000003d0| 74 6f 20 72 65 70 6c 61 | 63 65 5c 6e 46 52 4f 4d |to repla|ce\nFROM|
|000003e0| 20 77 69 74 68 20 54 4f | 20 77 68 65 6e 20 69 74 | with TO| when it|
|000003f0| 20 61 70 70 65 61 72 73 | 20 69 6e 20 61 20 64 69 | appears| in a di|
|00000400| 72 65 63 74 6f 72 79 20 | 6e 61 6d 65 2e 5c 6e 54 |rectory |name.\nT|
|00000410| 68 69 73 20 72 65 70 6c | 61 63 65 6d 65 6e 74 20 |his repl|acement |
|00000420| 69 73 20 64 6f 6e 65 20 | 77 68 65 6e 20 73 65 74 |is done |when set|
|00000430| 74 69 6e 67 20 75 70 20 | 74 68 65 20 64 65 66 61 |ting up |the defa|
|00000440| 75 6c 74 20 64 69 72 65 | 63 74 6f 72 79 20 6f 66 |ult dire|ctory of|
|00000450| 20 61 5c 6e 6e 65 77 6c | 79 20 76 69 73 69 74 65 | a\nnewl|y visite|
|00000460| 64 20 66 69 6c 65 2e 20 | 20 2a 45 76 65 72 79 2a |d file. | *Every*|
|00000470| 20 46 52 4f 4d 20 73 74 | 72 69 6e 67 20 73 68 6f | FROM st|ring sho|
|00000480| 75 6c 64 20 73 74 61 72 | 74 20 77 69 74 68 20 5c |uld star|t with \|
|00000490| 5c 5c 5c 60 20 6f 72 20 | 5e 2e 5c 6e 5c 6e 55 73 |\\\` or |^.\n\nUs|
|000004a0| 65 20 74 68 69 73 20 66 | 65 61 74 75 72 65 20 77 |e this f|eature w|
|000004b0| 68 65 6e 20 79 6f 75 20 | 68 61 76 65 20 64 69 72 |hen you |have dir|
|000004c0| 65 63 74 6f 72 69 65 73 | 20 77 68 69 63 68 20 79 |ectories| which y|
|000004d0| 6f 75 20 6e 6f 72 6d 61 | 6c 6c 79 20 72 65 66 65 |ou norma|lly refe|
|000004e0| 72 20 74 6f 5c 6e 76 69 | 61 20 61 62 73 6f 6c 75 |r to\nvi|a absolu|
|000004f0| 74 65 20 73 79 6d 62 6f | 6c 69 63 20 6c 69 6e 6b |te symbo|lic link|
|00000500| 73 20 6f 72 20 74 6f 20 | 65 6c 69 6d 69 6e 61 74 |s or to |eliminat|
|00000510| 65 20 61 75 74 6f 6d 6f | 75 6e 74 65 72 20 6d 6f |e automo|unter mo|
|00000520| 75 6e 74 20 70 6f 69 6e | 74 73 5c 6e 66 72 6f 6d |unt poin|ts\nfrom|
|00000530| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|00000540| 66 20 79 6f 75 72 20 66 | 69 6c 65 6e 61 6d 65 73 |f your f|ilenames|
|00000550| 2e 20 20 4d 61 6b 65 20 | 54 4f 20 74 68 65 20 6e |. Make |TO the n|
|00000560| 61 6d 65 20 6f 66 20 74 | 68 65 20 6c 69 6e 6b 2c |ame of t|he link,|
|00000570| 5c 6e 61 6e 64 20 46 52 | 4f 4d 20 74 68 65 20 6e |\nand FR|OM the n|
|00000580| 61 6d 65 20 69 74 20 69 | 73 20 6c 69 6e 6b 65 64 |ame it i|s linked|
|00000590| 20 74 6f 2e 22 20 3a 74 | 79 70 65 20 27 28 72 65 | to." :t|ype '(re|
|000005a0| 70 65 61 74 20 28 63 6f | 6e 73 20 3a 66 6f 72 6d |peat (co|ns :form|
|000005b0| 61 74 20 22 25 76 22 20 | 3a 76 61 6c 75 65 20 28 |at "%v" |:value (|
|000005c0| 22 5c 5c 60 22 20 2e 20 | 22 22 29 20 28 72 65 67 |"\\`" . |"") (reg|
|000005d0| 65 78 70 20 3a 74 61 67 | 20 22 46 72 6f 6d 22 29 |exp :tag| "From")|
|000005e0| 20 28 72 65 67 65 78 70 | 20 3a 74 61 67 20 22 54 | (regexp| :tag "T|
|000005f0| 6f 22 29 29 29 20 3a 67 | 72 6f 75 70 20 27 66 69 |o"))) :g|roup 'fi|
|00000600| 6e 64 2d 66 69 6c 65 29 | 0a 28 63 75 73 74 6f 6d |nd-file)|.(custom|
|00000610| 2d 64 65 63 6c 61 72 65 | 2d 76 61 72 69 61 62 6c |-declare|-variabl|
|00000620| 65 20 27 6d 61 6b 65 2d | 62 61 63 6b 75 70 2d 66 |e 'make-|backup-f|
|00000630| 69 6c 65 73 20 27 28 6e | 6f 74 20 28 65 71 20 73 |iles '(n|ot (eq s|
|00000640| 79 73 74 65 6d 2d 74 79 | 70 65 20 27 76 61 78 2d |ystem-ty|pe 'vax-|
|00000650| 76 6d 73 29 29 20 22 2a | 4e 6f 6e 2d 6e 69 6c 20 |vms)) "*|Non-nil |
|00000660| 6d 65 61 6e 73 20 6d 61 | 6b 65 20 61 20 62 61 63 |means ma|ke a bac|
|00000670| 6b 75 70 20 6f 66 20 61 | 20 66 69 6c 65 20 74 68 |kup of a| file th|
|00000680| 65 20 66 69 72 73 74 20 | 74 69 6d 65 20 69 74 20 |e first |time it |
|00000690| 69 73 20 73 61 76 65 64 | 2e 5c 6e 54 68 69 73 20 |is saved|.\nThis |
|000006a0| 63 61 6e 20 62 65 20 64 | 6f 6e 65 20 62 79 20 72 |can be d|one by r|
|000006b0| 65 6e 61 6d 69 6e 67 20 | 74 68 65 20 66 69 6c 65 |enaming |the file|
|000006c0| 20 6f 72 20 62 79 20 63 | 6f 70 79 69 6e 67 2e 5c | or by c|opying.\|
|000006d0| 6e 5c 6e 52 65 6e 61 6d | 69 6e 67 20 6d 65 61 6e |n\nRenam|ing mean|
|000006e0| 73 20 74 68 61 74 20 58 | 45 6d 61 63 73 20 72 65 |s that X|Emacs re|
|000006f0| 6e 61 6d 65 73 20 74 68 | 65 20 65 78 69 73 74 69 |names th|e existi|
|00000700| 6e 67 20 66 69 6c 65 20 | 73 6f 20 74 68 61 74 20 |ng file |so that |
|00000710| 69 74 20 69 73 20 61 5c | 6e 62 61 63 6b 75 70 20 |it is a\|nbackup |
|00000720| 66 69 6c 65 2c 20 74 68 | 65 6e 20 77 72 69 74 65 |file, th|en write|
|00000730| 73 20 74 68 65 20 62 75 | 66 66 65 72 20 69 6e 74 |s the bu|ffer int|
|00000740| 6f 20 61 20 6e 65 77 20 | 66 69 6c 65 2e 20 20 41 |o a new |file. A|
|00000750| 6e 79 20 6f 74 68 65 72 | 20 6e 61 6d 65 73 5c 6e |ny other| names\n|
|00000760| 74 68 61 74 20 74 68 65 | 20 6f 6c 64 20 66 69 6c |that the| old fil|
|00000770| 65 20 68 61 64 20 77 69 | 6c 6c 20 6e 6f 77 20 72 |e had wi|ll now r|
|00000780| 65 66 65 72 20 74 6f 20 | 74 68 65 20 62 61 63 6b |efer to |the back|
|00000790| 75 70 20 66 69 6c 65 2e | 20 20 54 68 65 20 6e 65 |up file.| The ne|
|000007a0| 77 20 66 69 6c 65 5c 6e | 69 73 20 6f 77 6e 65 64 |w file\n|is owned|
|000007b0| 20 62 79 20 79 6f 75 20 | 61 6e 64 20 69 74 73 20 | by you |and its |
|000007c0| 67 72 6f 75 70 20 69 73 | 20 64 65 66 61 75 6c 74 |group is| default|
|000007d0| 65 64 2e 5c 6e 5c 6e 43 | 6f 70 79 69 6e 67 20 6d |ed.\n\nC|opying m|
|000007e0| 65 61 6e 73 20 74 68 61 | 74 20 58 45 6d 61 63 73 |eans tha|t XEmacs|
|000007f0| 20 63 6f 70 69 65 73 20 | 74 68 65 20 65 78 69 73 | copies |the exis|
|00000800| 74 69 6e 67 20 66 69 6c | 65 20 69 6e 74 6f 20 74 |ting fil|e into t|
|00000810| 68 65 20 62 61 63 6b 75 | 70 5c 6e 66 69 6c 65 2c |he backu|p\nfile,|
|00000820| 20 74 68 65 6e 20 77 72 | 69 74 65 73 20 74 68 65 | then wr|ites the|
|00000830| 20 62 75 66 66 65 72 20 | 6f 6e 20 74 6f 70 20 6f | buffer |on top o|
|00000840| 66 20 74 68 65 20 65 78 | 69 73 74 69 6e 67 20 66 |f the ex|isting f|
|00000850| 69 6c 65 2e 20 20 41 6e | 79 20 6f 74 68 65 72 5c |ile. An|y other\|
|00000860| 6e 6e 61 6d 65 73 20 74 | 68 61 74 20 74 68 65 20 |nnames t|hat the |
|00000870| 6f 6c 64 20 66 69 6c 65 | 20 68 61 64 20 77 69 6c |old file| had wil|
|00000880| 6c 20 6e 6f 77 20 72 65 | 66 65 72 20 74 6f 20 74 |l now re|fer to t|
|00000890| 68 65 20 6e 65 77 20 28 | 65 64 69 74 65 64 29 20 |he new (|edited) |
|000008a0| 66 69 6c 65 2e 5c 6e 54 | 68 65 20 66 69 6c 65 27 |file.\nT|he file'|
|000008b0| 73 20 6f 77 6e 65 72 20 | 61 6e 64 20 67 72 6f 75 |s owner |and grou|
|000008c0| 70 20 61 72 65 20 75 6e | 63 68 61 6e 67 65 64 2e |p are un|changed.|
|000008d0| 5c 6e 5c 6e 54 68 65 20 | 63 68 6f 69 63 65 20 6f |\n\nThe |choice o|
|000008e0| 66 20 72 65 6e 61 6d 69 | 6e 67 20 6f 72 20 63 6f |f renami|ng or co|
|000008f0| 70 79 69 6e 67 20 69 73 | 20 63 6f 6e 74 72 6f 6c |pying is| control|
|00000900| 6c 65 64 20 62 79 20 74 | 68 65 20 76 61 72 69 61 |led by t|he varia|
|00000910| 62 6c 65 73 5c 6e 60 62 | 61 63 6b 75 70 2d 62 79 |bles\n`b|ackup-by|
|00000920| 2d 63 6f 70 79 69 6e 67 | 27 2c 20 60 62 61 63 6b |-copying|', `back|
|00000930| 75 70 2d 62 79 2d 63 6f | 70 79 69 6e 67 2d 77 68 |up-by-co|pying-wh|
|00000940| 65 6e 2d 6c 69 6e 6b 65 | 64 27 20 61 6e 64 5c 6e |en-linke|d' and\n|
|00000950| 60 62 61 63 6b 75 70 2d | 62 79 2d 63 6f 70 79 69 |`backup-|by-copyi|
|00000960| 6e 67 2d 77 68 65 6e 2d | 6d 69 73 6d 61 74 63 68 |ng-when-|mismatch|
|00000970| 27 2e 20 20 53 65 65 20 | 61 6c 73 6f 20 60 62 61 |'. See |also `ba|
|00000980| 63 6b 75 70 2d 69 6e 68 | 69 62 69 74 65 64 27 2e |ckup-inh|ibited'.|
|00000990| 22 20 3a 74 79 70 65 20 | 27 62 6f 6f 6c 65 61 6e |" :type |'boolean|
|000009a0| 20 3a 67 72 6f 75 70 20 | 27 62 61 63 6b 75 70 29 | :group |'backup)|
|000009b0| 0a 23 40 31 38 31 20 4e | 6f 6e 2d 6e 69 6c 20 6d |.#@181 N|on-nil m|
|000009c0| 65 61 6e 73 20 64 6f 6e | 27 74 20 6d 61 6b 65 20 |eans don|'t make |
|000009d0| 61 20 62 61 63 6b 75 70 | 2c 20 72 65 67 61 72 64 |a backup|, regard|
|000009e0| 6c 65 73 73 20 6f 66 20 | 74 68 65 20 6f 74 68 65 |less of |the othe|
|000009f0| 72 20 70 61 72 61 6d 65 | 74 65 72 73 2e 0a 54 68 |r parame|ters..Th|
|00000a00| 69 73 20 76 61 72 69 61 | 62 6c 65 20 69 73 20 69 |is varia|ble is i|
|00000a10| 6e 74 65 6e 64 65 64 20 | 66 6f 72 20 75 73 65 20 |ntended |for use |
|00000a20| 62 79 20 6d 61 6b 69 6e | 67 20 69 74 20 6c 6f 63 |by makin|g it loc|
|00000a30| 61 6c 20 74 6f 20 61 20 | 62 75 66 66 65 72 2e 0a |al to a |buffer..|
|00000a40| 42 75 74 20 69 74 20 69 | 73 20 6c 6f 63 61 6c 20 |But it i|s local |
|00000a50| 6f 6e 6c 79 20 69 66 20 | 79 6f 75 20 6d 61 6b 65 |only if |you make|
|00000a60| 20 69 74 20 6c 6f 63 61 | 6c 2e 1f 0a 28 64 65 66 | it loca|l...(def|
|00000a70| 76 61 72 20 62 61 63 6b | 75 70 2d 69 6e 68 69 62 |var back|up-inhib|
|00000a80| 69 74 65 64 20 6e 69 6c | 20 28 23 24 20 2e 20 32 |ited nil| (#$ . 2|
|00000a90| 34 38 37 29 29 0a 28 70 | 75 74 20 27 62 61 63 6b |487)).(p|ut 'back|
|00000aa0| 75 70 2d 69 6e 68 69 62 | 69 74 65 64 20 27 70 65 |up-inhib|ited 'pe|
|00000ab0| 72 6d 61 6e 65 6e 74 2d | 6c 6f 63 61 6c 20 74 29 |rmanent-|local t)|
|00000ac0| 0a 28 63 75 73 74 6f 6d | 2d 64 65 63 6c 61 72 65 |.(custom|-declare|
|00000ad0| 2d 76 61 72 69 61 62 6c | 65 20 27 62 61 63 6b 75 |-variabl|e 'backu|
|00000ae0| 70 2d 62 79 2d 63 6f 70 | 79 69 6e 67 20 27 6e 69 |p-by-cop|ying 'ni|
|00000af0| 6c 20 22 2a 4e 6f 6e 2d | 6e 69 6c 20 6d 65 61 6e |l "*Non-|nil mean|
|00000b00| 73 20 61 6c 77 61 79 73 | 20 75 73 65 20 63 6f 70 |s always| use cop|
|00000b10| 79 69 6e 67 20 74 6f 20 | 63 72 65 61 74 65 20 62 |ying to |create b|
|00000b20| 61 63 6b 75 70 20 66 69 | 6c 65 73 2e 5c 6e 53 65 |ackup fi|les.\nSe|
|00000b30| 65 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |e docume|ntation |
|00000b40| 6f 66 20 76 61 72 69 61 | 62 6c 65 20 60 6d 61 6b |of varia|ble `mak|
|00000b50| 65 2d 62 61 63 6b 75 70 | 2d 66 69 6c 65 73 27 2e |e-backup|-files'.|
|00000b60| 22 20 3a 74 79 70 65 20 | 27 62 6f 6f 6c 65 61 6e |" :type |'boolean|
|00000b70| 20 3a 67 72 6f 75 70 20 | 27 62 61 63 6b 75 70 29 | :group |'backup)|
|00000b80| 0a 28 63 75 73 74 6f 6d | 2d 64 65 63 6c 61 72 65 |.(custom|-declare|
|00000b90| 2d 76 61 72 69 61 62 6c | 65 20 27 62 61 63 6b 75 |-variabl|e 'backu|
|00000ba0| 70 2d 62 79 2d 63 6f 70 | 79 69 6e 67 2d 77 68 65 |p-by-cop|ying-whe|
|00000bb0| 6e 2d 6c 69 6e 6b 65 64 | 20 27 6e 69 6c 20 22 2a |n-linked| 'nil "*|
|00000bc0| 4e 6f 6e 2d 6e 69 6c 20 | 6d 65 61 6e 73 20 75 73 |Non-nil |means us|
|00000bd0| 65 20 63 6f 70 79 69 6e | 67 20 74 6f 20 63 72 65 |e copyin|g to cre|
|00000be0| 61 74 65 20 62 61 63 6b | 75 70 73 20 66 6f 72 20 |ate back|ups for |
|00000bf0| 66 69 6c 65 73 20 77 69 | 74 68 20 6d 75 6c 74 69 |files wi|th multi|
|00000c00| 70 6c 65 20 6e 61 6d 65 | 73 2e 5c 6e 54 68 69 73 |ple name|s.\nThis|
|00000c10| 20 63 61 75 73 65 73 20 | 74 68 65 20 61 6c 74 65 | causes |the alte|
|00000c20| 72 6e 61 74 65 20 6e 61 | 6d 65 73 20 74 6f 20 72 |rnate na|mes to r|
|00000c30| 65 66 65 72 20 74 6f 20 | 74 68 65 20 6c 61 74 65 |efer to |the late|
|00000c40| 73 74 20 76 65 72 73 69 | 6f 6e 20 61 73 20 65 64 |st versi|on as ed|
|00000c50| 69 74 65 64 2e 5c 6e 54 | 68 69 73 20 76 61 72 69 |ited.\nT|his vari|
|00000c60| 61 62 6c 65 20 69 73 20 | 72 65 6c 65 76 61 6e 74 |able is |relevant|
|00000c70| 20 6f 6e 6c 79 20 69 66 | 20 60 62 61 63 6b 75 70 | only if| `backup|
|00000c80| 2d 62 79 2d 63 6f 70 79 | 69 6e 67 27 20 69 73 20 |-by-copy|ing' is |
|00000c90| 6e 69 6c 2e 22 20 3a 74 | 79 70 65 20 27 62 6f 6f |nil." :t|ype 'boo|
|00000ca0| 6c 65 61 6e 20 3a 67 72 | 6f 75 70 20 27 62 61 63 |lean :gr|oup 'bac|
|00000cb0| 6b 75 70 29 0a 28 63 75 | 73 74 6f 6d 2d 64 65 63 |kup).(cu|stom-dec|
|00000cc0| 6c 61 72 65 2d 76 61 72 | 69 61 62 6c 65 20 27 62 |lare-var|iable 'b|
|00000cd0| 61 63 6b 75 70 2d 62 79 | 2d 63 6f 70 79 69 6e 67 |ackup-by|-copying|
|00000ce0| 2d 77 68 65 6e 2d 6d 69 | 73 6d 61 74 63 68 20 27 |-when-mi|smatch '|
|00000cf0| 6e 69 6c 20 22 2a 4e 6f | 6e 2d 6e 69 6c 20 6d 65 |nil "*No|n-nil me|
|00000d00| 61 6e 73 20 63 72 65 61 | 74 65 20 62 61 63 6b 75 |ans crea|te backu|
|00000d10| 70 73 20 62 79 20 63 6f | 70 79 69 6e 67 20 69 66 |ps by co|pying if|
|00000d20| 20 74 68 69 73 20 70 72 | 65 73 65 72 76 65 73 20 | this pr|eserves |
|00000d30| 6f 77 6e 65 72 20 6f 72 | 20 67 72 6f 75 70 2e 5c |owner or| group.\|
|00000d40| 6e 52 65 6e 61 6d 69 6e | 67 20 6d 61 79 20 73 74 |nRenamin|g may st|
|00000d50| 69 6c 6c 20 62 65 20 75 | 73 65 64 20 28 73 75 62 |ill be u|sed (sub|
|00000d60| 6a 65 63 74 20 74 6f 20 | 63 6f 6e 74 72 6f 6c 20 |ject to |control |
|00000d70| 6f 66 20 6f 74 68 65 72 | 20 76 61 72 69 61 62 6c |of other| variabl|
|00000d80| 65 73 29 5c 6e 77 68 65 | 6e 20 69 74 20 77 6f 75 |es)\nwhe|n it wou|
|00000d90| 6c 64 20 6e 6f 74 20 72 | 65 73 75 6c 74 20 69 6e |ld not r|esult in|
|00000da0| 20 63 68 61 6e 67 69 6e | 67 20 74 68 65 20 6f 77 | changin|g the ow|
|00000db0| 6e 65 72 20 6f 72 20 67 | 72 6f 75 70 20 6f 66 20 |ner or g|roup of |
|00000dc0| 74 68 65 20 66 69 6c 65 | 3b 5c 6e 74 68 61 74 20 |the file|;\nthat |
|00000dd0| 69 73 2c 20 66 6f 72 20 | 66 69 6c 65 73 20 77 68 |is, for |files wh|
|00000de0| 69 63 68 20 61 72 65 20 | 6f 77 6e 65 64 20 62 79 |ich are |owned by|
|00000df0| 20 79 6f 75 20 61 6e 64 | 20 77 68 6f 73 65 20 67 | you and| whose g|
|00000e00| 72 6f 75 70 20 6d 61 74 | 63 68 65 73 5c 6e 74 68 |roup mat|ches\nth|
|00000e10| 65 20 64 65 66 61 75 6c | 74 20 66 6f 72 20 61 20 |e defaul|t for a |
|00000e20| 6e 65 77 20 66 69 6c 65 | 20 63 72 65 61 74 65 64 |new file| created|
|00000e30| 20 74 68 65 72 65 20 62 | 79 20 79 6f 75 2e 5c 6e | there b|y you.\n|
|00000e40| 54 68 69 73 20 76 61 72 | 69 61 62 6c 65 20 69 73 |This var|iable is|
|00000e50| 20 72 65 6c 65 76 61 6e | 74 20 6f 6e 6c 79 20 69 | relevan|t only i|
|00000e60| 66 20 60 62 61 63 6b 75 | 70 2d 62 79 2d 63 6f 70 |f `backu|p-by-cop|
|00000e70| 79 69 6e 67 27 20 69 73 | 20 6e 69 6c 2e 22 20 3a |ying' is| nil." :|
|00000e80| 74 79 70 65 20 27 62 6f | 6f 6c 65 61 6e 20 3a 67 |type 'bo|olean :g|
|00000e90| 72 6f 75 70 20 27 62 61 | 63 6b 75 70 29 0a 23 40 |roup 'ba|ckup).#@|
|00000ea0| 31 35 32 20 50 72 65 64 | 69 63 61 74 65 20 74 68 |152 Pred|icate th|
|00000eb0| 61 74 20 6c 6f 6f 6b 73 | 20 61 74 20 61 20 66 69 |at looks| at a fi|
|00000ec0| 6c 65 20 6e 61 6d 65 20 | 61 6e 64 20 64 65 63 69 |le name |and deci|
|00000ed0| 64 65 73 20 77 68 65 74 | 68 65 72 20 74 6f 20 6d |des whet|her to m|
|00000ee0| 61 6b 65 20 62 61 63 6b | 75 70 73 2e 0a 43 61 6c |ake back|ups..Cal|
|00000ef0| 6c 65 64 20 77 69 74 68 | 20 61 6e 20 61 62 73 6f |led with| an abso|
|00000f00| 6c 75 74 65 20 66 69 6c | 65 20 6e 61 6d 65 20 61 |lute fil|e name a|
|00000f10| 73 20 61 72 67 75 6d 65 | 6e 74 2c 20 69 74 20 72 |s argume|nt, it r|
|00000f20| 65 74 75 72 6e 73 20 74 | 20 74 6f 20 65 6e 61 62 |eturns t| to enab|
|00000f30| 6c 65 20 62 61 63 6b 75 | 70 2e 1f 0a 28 64 65 66 |le backu|p...(def|
|00000f40| 76 61 72 20 62 61 63 6b | 75 70 2d 65 6e 61 62 6c |var back|up-enabl|
|00000f50| 65 2d 70 72 65 64 69 63 | 61 74 65 20 27 28 6c 61 |e-predic|ate '(la|
|00000f60| 6d 62 64 61 20 28 6e 61 | 6d 65 29 20 28 6f 72 20 |mbda (na|me) (or |
|00000f70| 28 3c 20 28 6c 65 6e 67 | 74 68 20 6e 61 6d 65 29 |(< (leng|th name)|
|00000f80| 20 35 29 20 28 6e 6f 74 | 20 28 73 74 72 69 6e 67 | 5) (not| (string|
|00000f90| 2d 65 71 75 61 6c 20 22 | 2f 74 6d 70 2f 22 20 28 |-equal "|/tmp/" (|
|00000fa0| 73 75 62 73 74 72 69 6e | 67 20 6e 61 6d 65 20 30 |substrin|g name 0|
|00000fb0| 20 35 29 29 29 29 29 20 | 28 23 24 20 2e 20 33 37 | 5))))) |(#$ . 37|
|00000fc0| 34 38 29 29 0a 28 63 75 | 73 74 6f 6d 2d 64 65 63 |48)).(cu|stom-dec|
|00000fd0| 6c 61 72 65 2d 76 61 72 | 69 61 62 6c 65 20 27 62 |lare-var|iable 'b|
|00000fe0| 75 66 66 65 72 2d 6f 66 | 66 65 72 2d 73 61 76 65 |uffer-of|fer-save|
|00000ff0| 20 27 6e 69 6c 20 22 2a | 4e 6f 6e 2d 6e 69 6c 20 | 'nil "*|Non-nil |
|00001000| 69 6e 20 61 20 62 75 66 | 66 65 72 20 6d 65 61 6e |in a buf|fer mean|
|00001010| 73 20 6f 66 66 65 72 20 | 74 6f 20 73 61 76 65 20 |s offer |to save |
|00001020| 74 68 65 20 62 75 66 66 | 65 72 20 6f 6e 20 65 78 |the buff|er on ex|
|00001030| 69 74 5c 6e 65 76 65 6e | 20 69 66 20 74 68 65 20 |it\neven| if the |
|00001040| 62 75 66 66 65 72 20 69 | 73 20 6e 6f 74 20 76 69 |buffer i|s not vi|
|00001050| 73 69 74 69 6e 67 20 61 | 20 66 69 6c 65 2e 5c 6e |siting a| file.\n|
|00001060| 41 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 6c 6f |Automati|cally lo|
|00001070| 63 61 6c 20 69 6e 20 61 | 6c 6c 20 62 75 66 66 65 |cal in a|ll buffe|
|00001080| 72 73 2e 22 20 3a 74 79 | 70 65 20 27 62 6f 6f 6c |rs." :ty|pe 'bool|
|00001090| 65 61 6e 20 3a 67 72 6f | 75 70 20 27 66 69 6e 64 |ean :gro|up 'find|
|000010a0| 2d 66 69 6c 65 29 0a 28 | 62 79 74 65 2d 63 6f 64 |-file).(|byte-cod|
|000010b0| 65 20 22 c0 c1 21 88 c2 | c3 c4 5c 22 88 c2 c5 c6 |e "..!..|..\"....|
|000010c0| 5c 22 87 22 20 5b 6d 61 | 6b 65 2d 76 61 72 69 61 |\"." [ma|ke-varia|
|000010d0| 62 6c 65 2d 62 75 66 66 | 65 72 2d 6c 6f 63 61 6c |ble-buff|er-local|
|000010e0| 20 62 75 66 66 65 72 2d | 6f 66 66 65 72 2d 73 61 | buffer-|offer-sa|
|000010f0| 76 65 20 64 65 66 76 61 | 72 61 6c 69 61 73 20 66 |ve defva|ralias f|
|00001100| 69 6e 64 2d 66 69 6c 65 | 2d 76 69 73 69 74 2d 74 |ind-file|-visit-t|
|00001110| 72 75 65 6e 61 6d 65 20 | 66 69 6e 64 2d 66 69 6c |ruename |find-fil|
|00001120| 65 2d 75 73 65 2d 74 72 | 75 65 6e 61 6d 65 73 20 |e-use-tr|uenames |
|00001130| 66 69 6e 64 2d 66 69 6c | 65 2d 65 78 69 73 74 69 |find-fil|e-existi|
|00001140| 6e 67 2d 6f 74 68 65 72 | 2d 6e 61 6d 65 20 66 69 |ng-other|-name fi|
|00001150| 6e 64 2d 66 69 6c 65 2d | 63 6f 6d 70 61 72 65 2d |nd-file-|compare-|
|00001160| 74 72 75 65 6e 61 6d 65 | 73 5d 20 33 29 0a 28 63 |truename|s] 3).(c|
|00001170| 75 73 74 6f 6d 2d 64 65 | 63 6c 61 72 65 2d 76 61 |ustom-de|clare-va|
|00001180| 72 69 61 62 6c 65 20 27 | 72 65 76 65 72 74 2d 77 |riable '|revert-w|
|00001190| 69 74 68 6f 75 74 2d 71 | 75 65 72 79 20 27 6e 69 |ithout-q|uery 'ni|
|000011a0| 6c 20 22 2a 53 70 65 63 | 69 66 79 20 77 68 69 63 |l "*Spec|ify whic|
|000011b0| 68 20 66 69 6c 65 73 20 | 73 68 6f 75 6c 64 20 62 |h files |should b|
|000011c0| 65 20 72 65 76 65 72 74 | 65 64 20 77 69 74 68 6f |e revert|ed witho|
|000011d0| 75 74 20 71 75 65 72 79 | 2e 5c 6e 54 68 65 20 76 |ut query|.\nThe v|
|000011e0| 61 6c 75 65 20 69 73 20 | 61 20 6c 69 73 74 20 6f |alue is |a list o|
|000011f0| 66 20 72 65 67 75 6c 61 | 72 20 65 78 70 72 65 73 |f regula|r expres|
|00001200| 73 69 6f 6e 73 2e 5c 6e | 49 66 20 74 68 65 20 66 |sions.\n|If the f|
|00001210| 69 6c 65 20 6e 61 6d 65 | 20 6d 61 74 63 68 65 73 |ile name| matches|
|00001220| 20 6f 6e 65 20 6f 66 20 | 74 68 65 73 65 20 72 65 | one of |these re|
|00001230| 67 75 6c 61 72 20 65 78 | 70 72 65 73 73 69 6f 6e |gular ex|pression|
|00001240| 73 2c 5c 6e 74 68 65 6e | 20 60 72 65 76 65 72 74 |s,\nthen| `revert|
|00001250| 2d 62 75 66 66 65 72 27 | 20 72 65 76 65 72 74 73 |-buffer'| reverts|
|00001260| 20 74 68 65 20 66 69 6c | 65 20 77 69 74 68 6f 75 | the fil|e withou|
|00001270| 74 20 71 75 65 72 79 69 | 6e 67 5c 6e 69 66 20 74 |t queryi|ng\nif t|
|00001280| 68 65 20 66 69 6c 65 20 | 68 61 73 20 63 68 61 6e |he file |has chan|
|00001290| 67 65 64 20 6f 6e 20 64 | 69 73 6b 20 61 6e 64 20 |ged on d|isk and |
|000012a0| 79 6f 75 20 68 61 76 65 | 20 6e 6f 74 20 65 64 69 |you have| not edi|
|000012b0| 74 65 64 20 74 68 65 20 | 62 75 66 66 65 72 2e 22 |ted the |buffer."|
|000012c0| 20 3a 74 79 70 65 20 27 | 28 72 65 70 65 61 74 20 | :type '|(repeat |
|000012d0| 28 72 65 67 65 78 70 20 | 22 22 29 29 20 3a 67 72 |(regexp |"")) :gr|
|000012e0| 6f 75 70 20 27 66 69 6e | 64 2d 66 69 6c 65 29 0a |oup 'fin|d-file).|
|000012f0| 23 40 32 33 35 20 54 68 | 65 20 64 65 76 69 63 65 |#@235 Th|e device|
|00001300| 20 6e 75 6d 62 65 72 20 | 61 6e 64 20 66 69 6c 65 | number |and file|
|00001310| 20 6e 75 6d 62 65 72 20 | 6f 66 20 74 68 65 20 66 | number |of the f|
|00001320| 69 6c 65 20 76 69 73 69 | 74 65 64 20 69 6e 20 74 |ile visi|ted in t|
|00001330| 68 65 20 63 75 72 72 65 | 6e 74 20 62 75 66 66 65 |he curre|nt buffe|
|00001340| 72 2e 0a 54 68 65 20 76 | 61 6c 75 65 20 69 73 20 |r..The v|alue is |
|00001350| 61 20 6c 69 73 74 20 6f | 66 20 74 68 65 20 66 6f |a list o|f the fo|
|00001360| 72 6d 20 28 46 49 4c 45 | 4e 55 4d 20 44 45 56 4e |rm (FILE|NUM DEVN|
|00001370| 55 4d 29 2e 0a 54 68 69 | 73 20 70 61 69 72 20 6f |UM)..Thi|s pair o|
|00001380| 66 20 6e 75 6d 62 65 72 | 73 20 75 6e 69 71 75 65 |f number|s unique|
|00001390| 6c 79 20 69 64 65 6e 74 | 69 66 69 65 73 20 74 68 |ly ident|ifies th|
|000013a0| 65 20 66 69 6c 65 2e 0a | 49 66 20 74 68 65 20 62 |e file..|If the b|
|000013b0| 75 66 66 65 72 20 69 73 | 20 76 69 73 69 74 69 6e |uffer is| visitin|
|000013c0| 67 20 61 20 6e 65 77 20 | 66 69 6c 65 2c 20 74 68 |g a new |file, th|
|000013d0| 65 20 76 61 6c 75 65 20 | 69 73 20 6e 69 6c 2e 1f |e value |is nil..|
|000013e0| 0a 28 64 65 66 76 61 72 | 20 62 75 66 66 65 72 2d |.(defvar| buffer-|
|000013f0| 66 69 6c 65 2d 6e 75 6d | 62 65 72 20 6e 69 6c 20 |file-num|ber nil |
|00001400| 28 23 24 20 2e 20 34 38 | 35 34 29 29 0a 28 62 79 |(#$ . 48|54)).(by|
|00001410| 74 65 2d 63 6f 64 65 20 | 22 c0 c1 21 88 c2 c1 c3 |te-code |"..!....|
|00001420| c4 23 87 22 20 5b 6d 61 | 6b 65 2d 76 61 72 69 61 |.#." [ma|ke-varia|
|00001430| 62 6c 65 2d 62 75 66 66 | 65 72 2d 6c 6f 63 61 6c |ble-buff|er-local|
|00001440| 20 62 75 66 66 65 72 2d | 66 69 6c 65 2d 6e 75 6d | buffer-|file-num|
|00001450| 62 65 72 20 70 75 74 20 | 70 65 72 6d 61 6e 65 6e |ber put |permanen|
|00001460| 74 2d 6c 6f 63 61 6c 20 | 74 5d 20 34 29 0a 23 40 |t-local |t] 4).#@|
|00001470| 36 36 20 4e 6f 6e 2d 6e | 69 6c 20 6d 65 61 6e 73 |66 Non-n|il means|
|00001480| 20 74 68 61 74 20 62 75 | 66 66 65 72 2d 66 69 6c | that bu|ffer-fil|
|00001490| 65 2d 6e 75 6d 62 65 72 | 20 75 6e 69 71 75 65 6c |e-number| uniquel|
|000014a0| 79 20 69 64 65 6e 74 69 | 66 69 65 73 20 66 69 6c |y identi|fies fil|
|000014b0| 65 73 2e 1f 0a 28 64 65 | 66 76 61 72 20 62 75 66 |es...(de|fvar buf|
|000014c0| 66 65 72 2d 66 69 6c 65 | 2d 6e 75 6d 62 65 72 73 |fer-file|-numbers|
|000014d0| 2d 75 6e 69 71 75 65 20 | 28 62 79 74 65 2d 63 6f |-unique |(byte-co|
|000014e0| 64 65 20 22 08 c1 73 3f | 87 22 20 5b 73 79 73 74 |de "..s?|." [syst|
|000014f0| 65 6d 2d 74 79 70 65 20 | 28 77 69 6e 64 6f 77 73 |em-type |(windows|
|00001500| 2d 6e 74 29 5d 20 32 29 | 20 28 23 24 20 2e 20 35 |-nt)] 2)| (#$ . 5|
|00001510| 32 33 35 29 29 0a 28 63 | 75 73 74 6f 6d 2d 64 65 |235)).(c|ustom-de|
|00001520| 63 6c 61 72 65 2d 76 61 | 72 69 61 62 6c 65 20 27 |clare-va|riable '|
|00001530| 66 69 6c 65 2d 70 72 65 | 63 69 6f 75 73 2d 66 6c |file-pre|cious-fl|
|00001540| 61 67 20 27 6e 69 6c 20 | 22 2a 4e 6f 6e 2d 6e 69 |ag 'nil |"*Non-ni|
|00001550| 6c 20 6d 65 61 6e 73 20 | 70 72 6f 74 65 63 74 20 |l means |protect |
|00001560| 61 67 61 69 6e 73 74 20 | 49 2f 4f 20 65 72 72 6f |against |I/O erro|
|00001570| 72 73 20 77 68 69 6c 65 | 20 73 61 76 69 6e 67 20 |rs while| saving |
|00001580| 66 69 6c 65 73 2e 5c 6e | 53 6f 6d 65 20 6d 6f 64 |files.\n|Some mod|
|00001590| 65 73 20 73 65 74 20 74 | 68 69 73 20 6e 6f 6e 2d |es set t|his non-|
|000015a0| 6e 69 6c 20 69 6e 20 70 | 61 72 74 69 63 75 6c 61 |nil in p|articula|
|000015b0| 72 20 62 75 66 66 65 72 | 73 2e 5c 6e 5c 6e 54 68 |r buffer|s.\n\nTh|
|000015c0| 69 73 20 66 65 61 74 75 | 72 65 20 77 6f 72 6b 73 |is featu|re works|
|000015d0| 20 62 79 20 77 72 69 74 | 69 6e 67 20 74 68 65 20 | by writ|ing the |
|000015e0| 6e 65 77 20 63 6f 6e 74 | 65 6e 74 73 20 69 6e 74 |new cont|ents int|
|000015f0| 6f 20 61 20 74 65 6d 70 | 6f 72 61 72 79 20 66 69 |o a temp|orary fi|
|00001600| 6c 65 5c 6e 61 6e 64 20 | 74 68 65 6e 20 72 65 6e |le\nand |then ren|
|00001610| 61 6d 69 6e 67 20 74 68 | 65 20 74 65 6d 70 6f 72 |aming th|e tempor|
|00001620| 61 72 79 20 66 69 6c 65 | 20 74 6f 20 72 65 70 6c |ary file| to repl|
|00001630| 61 63 65 20 74 68 65 20 | 6f 72 69 67 69 6e 61 6c |ace the |original|
|00001640| 2e 5c 6e 49 6e 20 74 68 | 69 73 20 77 61 79 2c 20 |.\nIn th|is way, |
|00001650| 61 6e 79 20 49 2f 4f 20 | 65 72 72 6f 72 20 69 6e |any I/O |error in|
|00001660| 20 77 72 69 74 69 6e 67 | 20 6c 65 61 76 65 73 20 | writing| leaves |
|00001670| 74 68 65 20 6f 72 69 67 | 69 6e 61 6c 20 75 6e 74 |the orig|inal unt|
|00001680| 6f 75 63 68 65 64 2c 5c | 6e 61 6e 64 20 74 68 65 |ouched,\|nand the|
|00001690| 72 65 20 69 73 20 6e 65 | 76 65 72 20 61 6e 79 20 |re is ne|ver any |
|000016a0| 69 6e 73 74 61 6e 74 20 | 77 68 65 72 65 20 74 68 |instant |where th|
|000016b0| 65 20 66 69 6c 65 20 69 | 73 20 6e 6f 6e 65 78 69 |e file i|s nonexi|
|000016c0| 73 74 65 6e 74 2e 5c 6e | 5c 6e 4e 6f 74 65 20 74 |stent.\n|\nNote t|
|000016d0| 68 61 74 20 74 68 69 73 | 20 66 65 61 74 75 72 65 |hat this| feature|
|000016e0| 20 66 6f 72 63 65 73 20 | 62 61 63 6b 75 70 73 20 | forces |backups |
|000016f0| 74 6f 20 62 65 20 6d 61 | 64 65 20 62 79 20 63 6f |to be ma|de by co|
|00001700| 70 79 69 6e 67 2e 5c 6e | 59 65 74 2c 20 61 74 20 |pying.\n|Yet, at |
|00001710| 74 68 65 20 73 61 6d 65 | 20 74 69 6d 65 2c 20 73 |the same| time, s|
|00001720| 61 76 69 6e 67 20 61 20 | 70 72 65 63 69 6f 75 73 |aving a |precious|
|00001730| 20 66 69 6c 65 5c 6e 62 | 72 65 61 6b 73 20 61 6e | file\nb|reaks an|
|00001740| 79 20 68 61 72 64 20 6c | 69 6e 6b 73 20 62 65 74 |y hard l|inks bet|
|00001750| 77 65 65 6e 20 69 74 20 | 61 6e 64 20 6f 74 68 65 |ween it |and othe|
|00001760| 72 20 66 69 6c 65 73 2e | 22 20 3a 74 79 70 65 20 |r files.|" :type |
|00001770| 27 62 6f 6f 6c 65 61 6e | 20 3a 67 72 6f 75 70 20 |'boolean| :group |
|00001780| 27 62 61 63 6b 75 70 29 | 0a 28 63 75 73 74 6f 6d |'backup)|.(custom|
|00001790| 2d 64 65 63 6c 61 72 65 | 2d 76 61 72 69 61 62 6c |-declare|-variabl|
|000017a0| 65 20 27 76 65 72 73 69 | 6f 6e 2d 63 6f 6e 74 72 |e 'versi|on-contr|
|000017b0| 6f 6c 20 27 6e 69 6c 20 | 22 2a 43 6f 6e 74 72 6f |ol 'nil |"*Contro|
|000017c0| 6c 20 75 73 65 20 6f 66 | 20 76 65 72 73 69 6f 6e |l use of| version|
|000017d0| 20 6e 75 6d 62 65 72 73 | 20 66 6f 72 20 62 61 63 | numbers| for bac|
|000017e0| 6b 75 70 20 66 69 6c 65 | 73 2e 5c 6e 74 20 6d 65 |kup file|s.\nt me|
|000017f0| 61 6e 73 20 6d 61 6b 65 | 20 6e 75 6d 65 72 69 63 |ans make| numeric|
|00001800| 20 62 61 63 6b 75 70 20 | 76 65 72 73 69 6f 6e 73 | backup |versions|
|00001810| 20 75 6e 63 6f 6e 64 69 | 74 69 6f 6e 61 6c 6c 79 | uncondi|tionally|
|00001820| 2e 5c 6e 6e 69 6c 20 6d | 65 61 6e 73 20 6d 61 6b |.\nnil m|eans mak|
|00001830| 65 20 74 68 65 6d 20 66 | 6f 72 20 66 69 6c 65 73 |e them f|or files|
|00001840| 20 74 68 61 74 20 68 61 | 76 65 20 73 6f 6d 65 20 | that ha|ve some |
|00001850| 61 6c 72 65 61 64 79 2e | 5c 6e 60 6e 65 76 65 72 |already.|\n`never|
|00001860| 27 20 6d 65 61 6e 73 20 | 64 6f 20 6e 6f 74 20 6d |' means |do not m|
|00001870| 61 6b 65 20 74 68 65 6d | 2e 22 20 3a 74 79 70 65 |ake them|." :type|
|00001880| 20 27 62 6f 6f 6c 65 61 | 6e 20 3a 67 72 6f 75 70 | 'boolea|n :group|
|00001890| 20 27 62 61 63 6b 75 70 | 20 3a 67 72 6f 75 70 20 | 'backup| :group |
|000018a0| 27 76 63 29 0a 28 63 75 | 73 74 6f 6d 2d 64 65 63 |'vc).(cu|stom-dec|
|000018b0| 6c 61 72 65 2d 76 61 72 | 69 61 62 6c 65 20 27 64 |lare-var|iable 'd|
|000018c0| 65 6c 65 74 65 2d 6f 6c | 64 2d 76 65 72 73 69 6f |elete-ol|d-versio|
|000018d0| 6e 73 20 27 6e 69 6c 20 | 22 2a 49 66 20 74 2c 20 |ns 'nil |"*If t, |
|000018e0| 64 65 6c 65 74 65 20 65 | 78 63 65 73 73 20 62 61 |delete e|xcess ba|
|000018f0| 63 6b 75 70 20 76 65 72 | 73 69 6f 6e 73 20 73 69 |ckup ver|sions si|
|00001900| 6c 65 6e 74 6c 79 2e 5c | 6e 49 66 20 6e 69 6c 2c |lently.\|nIf nil,|
|00001910| 20 61 73 6b 20 63 6f 6e | 66 69 72 6d 61 74 69 6f | ask con|firmatio|
|00001920| 6e 2e 20 20 41 6e 79 20 | 6f 74 68 65 72 20 76 61 |n. Any |other va|
|00001930| 6c 75 65 20 70 72 65 76 | 65 6e 74 73 20 61 6e 79 |lue prev|ents any|
|00001940| 20 74 72 69 6d 6d 69 6e | 67 2e 22 20 3a 74 79 70 | trimmin|g." :typ|
|00001950| 65 20 27 28 63 68 6f 69 | 63 65 20 28 63 6f 6e 73 |e '(choi|ce (cons|
|00001960| 74 20 3a 74 61 67 20 22 | 44 65 6c 65 74 65 22 20 |t :tag "|Delete" |
|00001970| 74 29 20 28 63 6f 6e 73 | 74 20 3a 74 61 67 20 22 |t) (cons|t :tag "|
|00001980| 41 73 6b 22 20 6e 69 6c | 29 20 28 73 65 78 70 20 |Ask" nil|) (sexp |
|00001990| 3a 74 61 67 20 22 4c 65 | 61 76 65 22 20 3a 66 6f |:tag "Le|ave" :fo|
|000019a0| 72 6d 61 74 20 22 25 74 | 5c 6e 22 20 6f 74 68 65 |rmat "%t|\n" othe|
|000019b0| 72 29 29 20 3a 67 72 6f | 75 70 20 27 62 61 63 6b |r)) :gro|up 'back|
|000019c0| 75 70 29 0a 28 63 75 73 | 74 6f 6d 2d 64 65 63 6c |up).(cus|tom-decl|
|000019d0| 61 72 65 2d 76 61 72 69 | 61 62 6c 65 20 27 6b 65 |are-vari|able 'ke|
|000019e0| 70 74 2d 6f 6c 64 2d 76 | 65 72 73 69 6f 6e 73 20 |pt-old-v|ersions |
|000019f0| 27 32 20 22 2a 4e 75 6d | 62 65 72 20 6f 66 20 6f |'2 "*Num|ber of o|
|00001a00| 6c 64 65 73 74 20 76 65 | 72 73 69 6f 6e 73 20 74 |ldest ve|rsions t|
|00001a10| 6f 20 6b 65 65 70 20 77 | 68 65 6e 20 61 20 6e 65 |o keep w|hen a ne|
|00001a20| 77 20 6e 75 6d 62 65 72 | 65 64 20 62 61 63 6b 75 |w number|ed backu|
|00001a30| 70 20 69 73 20 6d 61 64 | 65 2e 22 20 3a 74 79 70 |p is mad|e." :typ|
|00001a40| 65 20 27 69 6e 74 65 67 | 65 72 20 3a 67 72 6f 75 |e 'integ|er :grou|
|00001a50| 70 20 27 62 61 63 6b 75 | 70 29 0a 28 63 75 73 74 |p 'backu|p).(cust|
|00001a60| 6f 6d 2d 64 65 63 6c 61 | 72 65 2d 76 61 72 69 61 |om-decla|re-varia|
|00001a70| 62 6c 65 20 27 6b 65 70 | 74 2d 6e 65 77 2d 76 65 |ble 'kep|t-new-ve|
|00001a80| 72 73 69 6f 6e 73 20 27 | 32 20 22 2a 4e 75 6d 62 |rsions '|2 "*Numb|
|00001a90| 65 72 20 6f 66 20 6e 65 | 77 65 73 74 20 76 65 72 |er of ne|west ver|
|00001aa0| 73 69 6f 6e 73 20 74 6f | 20 6b 65 65 70 20 77 68 |sions to| keep wh|
|00001ab0| 65 6e 20 61 20 6e 65 77 | 20 6e 75 6d 62 65 72 65 |en a new| numbere|
|00001ac0| 64 20 62 61 63 6b 75 70 | 20 69 73 20 6d 61 64 65 |d backup| is made|
|00001ad0| 2e 5c 6e 49 6e 63 6c 75 | 64 65 73 20 74 68 65 20 |.\nInclu|des the |
|00001ae0| 6e 65 77 20 62 61 63 6b | 75 70 2e 20 20 4d 75 73 |new back|up. Mus|
|00001af0| 74 20 62 65 20 3e 20 30 | 22 20 3a 74 79 70 65 20 |t be > 0|" :type |
|00001b00| 27 69 6e 74 65 67 65 72 | 20 3a 67 72 6f 75 70 20 |'integer| :group |
|00001b10| 27 62 61 63 6b 75 70 29 | 0a 28 63 75 73 74 6f 6d |'backup)|.(custom|
|00001b20| 2d 64 65 63 6c 61 72 65 | 2d 76 61 72 69 61 62 6c |-declare|-variabl|
|00001b30| 65 20 27 72 65 71 75 69 | 72 65 2d 66 69 6e 61 6c |e 'requi|re-final|
|00001b40| 2d 6e 65 77 6c 69 6e 65 | 20 27 6e 69 6c 20 22 2a |-newline| 'nil "*|
|00001b50| 56 61 6c 75 65 20 6f 66 | 20 74 20 73 61 79 73 20 |Value of| t says |
|00001b60| 73 69 6c 65 6e 74 6c 79 | 20 65 6e 73 75 72 65 20 |silently| ensure |
|00001b70| 61 20 66 69 6c 65 20 65 | 6e 64 73 20 69 6e 20 61 |a file e|nds in a|
|00001b80| 20 6e 65 77 6c 69 6e 65 | 20 77 68 65 6e 20 69 74 | newline| when it|
|00001b90| 20 69 73 20 73 61 76 65 | 64 2e 5c 6e 4e 6f 6e 2d | is save|d.\nNon-|
|00001ba0| 6e 69 6c 20 62 75 74 20 | 6e 6f 74 20 74 20 73 61 |nil but |not t sa|
|00001bb0| 79 73 20 61 73 6b 20 75 | 73 65 72 20 77 68 65 74 |ys ask u|ser whet|
|00001bc0| 68 65 72 20 74 6f 20 61 | 64 64 20 61 20 6e 65 77 |her to a|dd a new|
|00001bd0| 6c 69 6e 65 20 77 68 65 | 6e 20 74 68 65 72 65 20 |line whe|n there |
|00001be0| 69 73 6e 27 74 20 6f 6e | 65 2e 5c 6e 6e 69 6c 20 |isn't on|e.\nnil |
|00001bf0| 6d 65 61 6e 73 20 64 6f | 6e 27 74 20 61 64 64 20 |means do|n't add |
|00001c00| 6e 65 77 6c 69 6e 65 73 | 2e 22 20 3a 74 79 70 65 |newlines|." :type|
|00001c10| 20 27 28 63 68 6f 69 63 | 65 20 28 63 6f 6e 73 74 | '(choic|e (const|
|00001c20| 20 3a 74 61 67 20 22 4f | 66 66 22 20 6e 69 6c 29 | :tag "O|ff" nil)|
|00001c30| 20 28 63 6f 6e 73 74 20 | 3a 74 61 67 20 22 41 64 | (const |:tag "Ad|
|00001c40| 64 22 20 74 29 20 28 73 | 65 78 70 20 3a 74 61 67 |d" t) (s|exp :tag|
|00001c50| 20 22 41 73 6b 22 20 3a | 66 6f 72 6d 61 74 20 22 | "Ask" :|format "|
|00001c60| 25 74 5c 6e 22 20 61 73 | 6b 29 29 20 3a 67 72 6f |%t\n" as|k)) :gro|
|00001c70| 75 70 20 27 65 64 69 74 | 69 6e 67 2d 62 61 73 69 |up 'edit|ing-basi|
|00001c80| 63 73 29 0a 28 63 75 73 | 74 6f 6d 2d 64 65 63 6c |cs).(cus|tom-decl|
|00001c90| 61 72 65 2d 76 61 72 69 | 61 62 6c 65 20 27 61 75 |are-vari|able 'au|
|00001ca0| 74 6f 2d 73 61 76 65 2d | 64 65 66 61 75 6c 74 20 |to-save-|default |
|00001cb0| 27 74 20 22 2a 4e 6f 6e | 2d 6e 69 6c 20 73 61 79 |'t "*Non|-nil say|
|00001cc0| 73 20 62 79 20 64 65 66 | 61 75 6c 74 20 64 6f 20 |s by def|ault do |
|00001cd0| 61 75 74 6f 2d 73 61 76 | 69 6e 67 20 6f 66 20 65 |auto-sav|ing of e|
|00001ce0| 76 65 72 79 20 66 69 6c | 65 2d 76 69 73 69 74 69 |very fil|e-visiti|
|00001cf0| 6e 67 20 62 75 66 66 65 | 72 2e 22 20 3a 74 79 70 |ng buffe|r." :typ|
|00001d00| 65 20 27 62 6f 6f 6c 65 | 61 6e 20 3a 67 72 6f 75 |e 'boole|an :grou|
|00001d10| 70 20 27 61 75 74 6f 2d | 73 61 76 65 29 0a 28 63 |p 'auto-|save).(c|
|00001d20| 75 73 74 6f 6d 2d 64 65 | 63 6c 61 72 65 2d 76 61 |ustom-de|clare-va|
|00001d30| 72 69 61 62 6c 65 20 27 | 61 75 74 6f 2d 73 61 76 |riable '|auto-sav|
|00001d40| 65 2d 76 69 73 69 74 65 | 64 2d 66 69 6c 65 2d 6e |e-visite|d-file-n|
|00001d50| 61 6d 65 20 27 6e 69 6c | 20 22 2a 4e 6f 6e 2d 6e |ame 'nil| "*Non-n|
|00001d60| 69 6c 20 73 61 79 73 20 | 61 75 74 6f 2d 73 61 76 |il says |auto-sav|
|00001d70| 65 20 61 20 62 75 66 66 | 65 72 20 69 6e 20 74 68 |e a buff|er in th|
|00001d80| 65 20 66 69 6c 65 20 69 | 74 20 69 73 20 76 69 73 |e file i|t is vis|
|00001d90| 69 74 69 6e 67 2c 20 77 | 68 65 6e 20 70 72 61 63 |iting, w|hen prac|
|00001da0| 74 69 63 61 6c 2e 5c 6e | 4e 6f 72 6d 61 6c 6c 79 |tical.\n|Normally|
|00001db0| 20 61 75 74 6f 2d 73 61 | 76 65 20 66 69 6c 65 73 | auto-sa|ve files|
|00001dc0| 20 61 72 65 20 77 72 69 | 74 74 65 6e 20 75 6e 64 | are wri|tten und|
|00001dd0| 65 72 20 6f 74 68 65 72 | 20 6e 61 6d 65 73 2e 22 |er other| names."|
|00001de0| 20 3a 74 79 70 65 20 27 | 62 6f 6f 6c 65 61 6e 20 | :type '|boolean |
|00001df0| 3a 67 72 6f 75 70 20 27 | 61 75 74 6f 2d 73 61 76 |:group '|auto-sav|
|00001e00| 65 29 0a 28 63 75 73 74 | 6f 6d 2d 64 65 63 6c 61 |e).(cust|om-decla|
|00001e10| 72 65 2d 76 61 72 69 61 | 62 6c 65 20 27 73 61 76 |re-varia|ble 'sav|
|00001e20| 65 2d 61 62 62 72 65 76 | 73 20 27 6e 69 6c 20 22 |e-abbrev|s 'nil "|
|00001e30| 2a 4e 6f 6e 2d 6e 69 6c | 20 6d 65 61 6e 73 20 73 |*Non-nil| means s|
|00001e40| 61 76 65 20 77 6f 72 64 | 20 61 62 62 72 65 76 73 |ave word| abbrevs|
|00001e50| 20 74 6f 6f 20 77 68 65 | 6e 20 66 69 6c 65 73 20 | too whe|n files |
|00001e60| 61 72 65 20 73 61 76 65 | 64 2e 5c 6e 4c 6f 61 64 |are save|d.\nLoad|
|00001e70| 69 6e 67 20 61 6e 20 61 | 62 62 72 65 76 20 66 69 |ing an a|bbrev fi|
|00001e80| 6c 65 20 73 65 74 73 20 | 74 68 69 73 20 74 6f 20 |le sets |this to |
|00001e90| 74 2e 22 20 3a 74 79 70 | 65 20 27 62 6f 6f 6c 65 |t." :typ|e 'boole|
|00001ea0| 61 6e 20 3a 67 72 6f 75 | 70 20 27 61 62 62 72 65 |an :grou|p 'abbre|
|00001eb0| 76 29 0a 28 63 75 73 74 | 6f 6d 2d 64 65 63 6c 61 |v).(cust|om-decla|
|00001ec0| 72 65 2d 76 61 72 69 61 | 62 6c 65 20 27 66 69 6e |re-varia|ble 'fin|
|00001ed0| 64 2d 66 69 6c 65 2d 72 | 75 6e 2d 64 69 72 65 64 |d-file-r|un-dired|
|00001ee0| 20 27 74 20 22 2a 4e 6f | 6e 2d 6e 69 6c 20 73 61 | 't "*No|n-nil sa|
|00001ef0| 79 73 20 72 75 6e 20 64 | 69 72 65 64 20 69 66 20 |ys run d|ired if |
|00001f00| 60 66 69 6e 64 2d 66 69 | 6c 65 27 20 69 73 20 67 |`find-fi|le' is g|
|00001f10| 69 76 65 6e 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |iven the| name of|
|00001f20| 20 61 20 64 69 72 65 63 | 74 6f 72 79 2e 22 20 3a | a direc|tory." :|
|00001f30| 74 79 70 65 20 27 62 6f | 6f 6c 65 61 6e 20 3a 67 |type 'bo|olean :g|
|00001f40| 72 6f 75 70 20 27 66 69 | 6e 64 2d 66 69 6c 65 29 |roup 'fi|nd-file)|
|00001f50| 0a 23 40 32 34 37 20 4c | 69 73 74 20 6f 66 20 66 |.#@247 L|ist of f|
|00001f60| 75 6e 63 74 69 6f 6e 73 | 20 74 6f 20 62 65 20 63 |unctions| to be c|
|00001f70| 61 6c 6c 65 64 20 66 6f | 72 20 60 66 69 6e 64 2d |alled fo|r `find-|
|00001f80| 66 69 6c 65 27 20 6f 6e | 20 6e 6f 6e 65 78 69 73 |file' on| nonexis|
|00001f90| 74 65 6e 74 20 66 69 6c | 65 2e 0a 54 68 65 73 65 |tent fil|e..These|
|00001fa0| 20 66 75 6e 63 74 69 6f | 6e 73 20 61 72 65 20 63 | functio|ns are c|
|00001fb0| 61 6c 6c 65 64 20 61 73 | 20 73 6f 6f 6e 20 61 73 |alled as| soon as|
|00001fc0| 20 74 68 65 20 65 72 72 | 6f 72 20 69 73 20 64 65 | the err|or is de|
|00001fd0| 74 65 63 74 65 64 2e 0a | 60 62 75 66 66 65 72 2d |tected..|`buffer-|
|00001fe0| 66 69 6c 65 2d 6e 61 6d | 65 27 20 69 73 20 61 6c |file-nam|e' is al|
|00001ff0| 72 65 61 64 79 20 73 65 | 74 20 75 70 2e 0a 54 68 |ready se|t up..Th|
|00002000| 65 20 66 75 6e 63 74 69 | 6f 6e 73 20 61 72 65 20 |e functi|ons are |
|00002010| 63 61 6c 6c 65 64 20 69 | 6e 20 74 68 65 20 6f 72 |called i|n the or|
|00002020| 64 65 72 20 67 69 76 65 | 6e 20 75 6e 74 69 6c 20 |der give|n until |
|00002030| 6f 6e 65 20 6f 66 20 74 | 68 65 6d 20 72 65 74 75 |one of t|hem retu|
|00002040| 72 6e 73 20 6e 6f 6e 2d | 6e 69 6c 2e 1f 0a 28 64 |rns non-|nil...(d|
|00002050| 65 66 76 61 72 20 66 69 | 6e 64 2d 66 69 6c 65 2d |efvar fi|nd-file-|
|00002060| 6e 6f 74 2d 66 6f 75 6e | 64 2d 68 6f 6f 6b 73 20 |not-foun|d-hooks |
|00002070| 6e 69 6c 20 28 23 24 20 | 2e 20 38 30 32 33 29 29 |nil (#$ |. 8023))|
|00002080| 0a 23 40 31 36 36 20 4c | 69 73 74 20 6f 66 20 66 |.#@166 L|ist of f|
|00002090| 75 6e 63 74 69 6f 6e 73 | 20 74 6f 20 62 65 20 63 |unctions| to be c|
|000020a0| 61 6c 6c 65 64 20 61 66 | 74 65 72 20 61 20 62 75 |alled af|ter a bu|
|000020b0| 66 66 65 72 20 69 73 20 | 6c 6f 61 64 65 64 20 66 |ffer is |loaded f|
|000020c0| 72 6f 6d 20 61 20 66 69 | 6c 65 2e 0a 54 68 65 20 |rom a fi|le..The |
|000020d0| 62 75 66 66 65 72 27 73 | 20 6c 6f 63 61 6c 20 76 |buffer's| local v|
|000020e0| 61 72 69 61 62 6c 65 73 | 20 28 69 66 20 61 6e 79 |ariables| (if any|
|000020f0| 29 20 77 69 6c 6c 20 68 | 61 76 65 20 62 65 65 6e |) will h|ave been|
|00002100| 20 70 72 6f 63 65 73 73 | 65 64 20 62 65 66 6f 72 | process|ed befor|
|00002110| 65 20 74 68 65 0a 66 75 | 6e 63 74 69 6f 6e 73 20 |e the.fu|nctions |
|00002120| 61 72 65 20 63 61 6c 6c | 65 64 2e 1f 0a 28 64 65 |are call|ed...(de|
|00002130| 66 76 61 72 20 66 69 6e | 64 2d 66 69 6c 65 2d 68 |fvar fin|d-file-h|
|00002140| 6f 6f 6b 73 20 6e 69 6c | 20 28 23 24 20 2e 20 38 |ooks nil| (#$ . 8|
|00002150| 33 32 37 29 29 0a 23 40 | 33 35 31 20 4c 69 73 74 |327)).#@|351 List|
|00002160| 20 6f 66 20 66 75 6e 63 | 74 69 6f 6e 73 20 74 6f | of func|tions to|
|00002170| 20 62 65 20 63 61 6c 6c | 65 64 20 62 65 66 6f 72 | be call|ed befor|
|00002180| 65 20 77 72 69 74 69 6e | 67 20 6f 75 74 20 61 20 |e writin|g out a |
|00002190| 62 75 66 66 65 72 20 74 | 6f 20 61 20 66 69 6c 65 |buffer t|o a file|
|000021a0| 2e 0a 49 66 20 6f 6e 65 | 20 6f 66 20 74 68 65 6d |..If one| of them|
|000021b0| 20 72 65 74 75 72 6e 73 | 20 6e 6f 6e 2d 6e 69 6c | returns| non-nil|
|000021c0| 2c 20 74 68 65 20 66 69 | 6c 65 20 69 73 20 63 6f |, the fi|le is co|
|000021d0| 6e 73 69 64 65 72 65 64 | 20 61 6c 72 65 61 64 79 |nsidered| already|
|000021e0| 20 77 72 69 74 74 65 6e | 0a 61 6e 64 20 74 68 65 | written|.and the|
|000021f0| 20 72 65 73 74 20 61 72 | 65 20 6e 6f 74 20 63 61 | rest ar|e not ca|
|00002200| 6c 6c 65 64 2e 0a 54 68 | 65 73 65 20 68 6f 6f 6b |lled..Th|ese hook|
|00002210| 73 20 61 72 65 20 63 6f | 6e 73 69 64 65 72 65 64 |s are co|nsidered|
|00002220| 20 74 6f 20 70 65 72 74 | 61 69 6e 20 74 6f 20 74 | to pert|ain to t|
|00002230| 68 65 20 76 69 73 69 74 | 65 64 20 66 69 6c 65 2e |he visit|ed file.|
|00002240| 0a 53 6f 20 74 68 69 73 | 20 6c 69 73 74 20 69 73 |.So this| list is|
|00002250| 20 63 6c 65 61 72 65 64 | 20 69 66 20 79 6f 75 20 | cleared| if you |
|00002260| 63 68 61 6e 67 65 20 74 | 68 65 20 76 69 73 69 74 |change t|he visit|
|00002270| 65 64 20 66 69 6c 65 20 | 6e 61 6d 65 2e 0a 53 65 |ed file |name..Se|
|00002280| 65 20 61 6c 73 6f 20 60 | 77 72 69 74 65 2d 63 6f |e also `|write-co|
|00002290| 6e 74 65 6e 74 73 2d 68 | 6f 6f 6b 73 27 20 61 6e |ntents-h|ooks' an|
|000022a0| 64 20 60 63 6f 6e 74 69 | 6e 75 65 2d 73 61 76 65 |d `conti|nue-save|
|000022b0| 2d 62 75 66 66 65 72 27 | 2e 1f 0a 28 64 65 66 76 |-buffer'|...(defv|
|000022c0| 61 72 20 77 72 69 74 65 | 2d 66 69 6c 65 2d 68 6f |ar write|-file-ho|
|000022d0| 6f 6b 73 20 6e 69 6c 20 | 28 23 24 20 2e 20 38 35 |oks nil |(#$ . 85|
|000022e0| 34 30 29 29 0a 28 70 75 | 74 20 27 77 72 69 74 65 |40)).(pu|t 'write|
|000022f0| 2d 66 69 6c 65 2d 68 6f | 6f 6b 73 20 27 70 65 72 |-file-ho|oks 'per|
|00002300| 6d 61 6e 65 6e 74 2d 6c | 6f 63 61 6c 20 74 29 0a |manent-l|ocal t).|
|00002310| 23 40 33 38 32 20 4a 75 | 73 74 20 6c 69 6b 65 20 |#@382 Ju|st like |
|00002320| 60 77 72 69 74 65 2d 66 | 69 6c 65 2d 68 6f 6f 6b |`write-f|ile-hook|
|00002330| 73 27 2c 20 65 78 63 65 | 70 74 20 69 6e 74 65 6e |s', exce|pt inten|
|00002340| 64 65 64 20 66 6f 72 20 | 70 65 72 2d 62 75 66 66 |ded for |per-buff|
|00002350| 65 72 20 75 73 65 2e 0a | 54 68 65 20 66 75 6e 63 |er use..|The func|
|00002360| 74 69 6f 6e 73 20 69 6e | 20 74 68 69 73 20 6c 69 |tions in| this li|
|00002370| 73 74 20 61 72 65 20 63 | 61 6c 6c 65 64 20 62 65 |st are c|alled be|
|00002380| 66 6f 72 65 20 74 68 65 | 20 6f 6e 65 73 20 69 6e |fore the| ones in|
|00002390| 0a 60 77 72 69 74 65 2d | 66 69 6c 65 2d 68 6f 6f |.`write-|file-hoo|
|000023a0| 6b 73 27 2e 0a 0a 54 68 | 69 73 20 76 61 72 69 61 |ks'...Th|is varia|
|000023b0| 62 6c 65 20 69 73 20 6d | 65 61 6e 74 20 74 6f 20 |ble is m|eant to |
|000023c0| 62 65 20 75 73 65 64 20 | 66 6f 72 20 68 6f 6f 6b |be used |for hook|
|000023d0| 73 20 74 68 61 74 20 68 | 61 76 65 20 74 6f 20 64 |s that h|ave to d|
|000023e0| 6f 20 77 69 74 68 20 61 | 0a 70 61 72 74 69 63 75 |o with a|.particu|
|000023f0| 6c 61 72 20 76 69 73 69 | 74 65 64 20 66 69 6c 65 |lar visi|ted file|
|00002400| 2e 20 20 54 68 65 72 65 | 66 6f 72 65 2c 20 69 74 |. There|fore, it|
|00002410| 20 69 73 20 61 20 70 65 | 72 6d 61 6e 65 6e 74 20 | is a pe|rmanent |
|00002420| 6c 6f 63 61 6c 2c 20 73 | 6f 20 74 68 61 74 0a 63 |local, s|o that.c|
|00002430| 68 61 6e 67 69 6e 67 20 | 74 68 65 20 6d 61 6a 6f |hanging |the majo|
|00002440| 72 20 6d 6f 64 65 20 64 | 6f 65 73 20 6e 6f 74 20 |r mode d|oes not |
|00002450| 63 6c 65 61 72 20 69 74 | 2e 20 20 48 6f 77 65 76 |clear it|. Howev|
|00002460| 65 72 2c 20 63 61 6c 6c | 69 6e 67 0a 60 73 65 74 |er, call|ing.`set|
|00002470| 2d 76 69 73 69 74 65 64 | 2d 66 69 6c 65 2d 6e 61 |-visited|-file-na|
|00002480| 6d 65 27 20 64 6f 65 73 | 20 63 6c 65 61 72 20 69 |me' does| clear i|
|00002490| 74 2e 1f 0a 28 64 65 66 | 76 61 72 20 6c 6f 63 61 |t...(def|var loca|
|000024a0| 6c 2d 77 72 69 74 65 2d | 66 69 6c 65 2d 68 6f 6f |l-write-|file-hoo|
|000024b0| 6b 73 20 6e 69 6c 20 28 | 23 24 20 2e 20 38 39 38 |ks nil (|#$ . 898|
|000024c0| 32 29 29 0a 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |2)).(byt|e-code "|
|000024d0| c0 c1 21 88 c2 c1 c3 c4 | 23 88 c2 c5 c3 c4 23 87 |..!.....|#.....#.|
|000024e0| 22 20 5b 6d 61 6b 65 2d | 76 61 72 69 61 62 6c 65 |" [make-|variable|
|000024f0| 2d 62 75 66 66 65 72 2d | 6c 6f 63 61 6c 20 6c 6f |-buffer-|local lo|
|00002500| 63 61 6c 2d 77 72 69 74 | 65 2d 66 69 6c 65 2d 68 |cal-writ|e-file-h|
|00002510| 6f 6f 6b 73 20 70 75 74 | 20 70 65 72 6d 61 6e 65 |ooks put| permane|
|00002520| 6e 74 2d 6c 6f 63 61 6c | 20 74 20 61 66 74 65 72 |nt-local| t after|
|00002530| 2d 73 65 74 2d 76 69 73 | 69 74 65 64 2d 66 69 6c |-set-vis|ited-fil|
|00002540| 65 2d 6e 61 6d 65 2d 68 | 6f 6f 6b 73 5d 20 34 29 |e-name-h|ooks] 4)|
|00002550| 0a 23 40 33 39 37 20 4c | 69 73 74 20 6f 66 20 66 |.#@397 L|ist of f|
|00002560| 75 6e 63 74 69 6f 6e 73 | 20 74 6f 20 62 65 20 63 |unctions| to be c|
|00002570| 61 6c 6c 65 64 20 61 66 | 74 65 72 20 5c 5b 73 65 |alled af|ter \[se|
|00002580| 74 2d 76 69 73 69 74 65 | 64 2d 66 69 6c 65 2d 6e |t-visite|d-file-n|
|00002590| 61 6d 65 5d 0a 6f 72 20 | 64 75 72 69 6e 67 20 5c |ame].or |during \|
|000025a0| 5b 77 72 69 74 65 2d 66 | 69 6c 65 5d 2e 0a 59 6f |[write-f|ile]..Yo|
|000025b0| 75 20 63 61 6e 20 75 73 | 65 20 74 68 69 73 20 68 |u can us|e this h|
|000025c0| 6f 6f 6b 20 74 6f 20 72 | 65 73 74 6f 72 65 20 6c |ook to r|estore l|
|000025d0| 6f 63 61 6c 20 76 61 6c | 75 65 73 20 6f 66 20 77 |ocal val|ues of w|
|000025e0| 72 69 74 65 2d 66 69 6c | 65 2d 68 6f 6f 6b 73 2c |rite-fil|e-hooks,|
|000025f0| 0a 61 66 74 65 72 2d 73 | 61 76 65 2d 68 6f 6f 6b |.after-s|ave-hook|
|00002600| 2c 20 61 6e 64 20 72 65 | 76 65 72 74 2d 62 75 66 |, and re|vert-buf|
|00002610| 66 65 72 2d 66 75 6e 63 | 74 69 6f 6e 2c 20 77 68 |fer-func|tion, wh|
|00002620| 69 63 68 20 70 65 72 74 | 61 69 6e 0a 74 6f 20 61 |ich pert|ain.to a|
|00002630| 20 73 70 65 63 69 66 69 | 63 20 66 69 6c 65 20 61 | specifi|c file a|
|00002640| 6e 64 20 74 68 65 72 65 | 66 6f 72 65 20 61 72 65 |nd there|fore are|
|00002650| 20 6e 6f 72 6d 61 6c 6c | 79 20 6b 69 6c 6c 65 64 | normall|y killed|
|00002660| 20 62 79 20 61 20 72 65 | 6e 61 6d 65 2e 0a 50 75 | by a re|name..Pu|
|00002670| 74 20 68 6f 6f 6b 73 20 | 70 65 72 74 61 69 6e 69 |t hooks |pertaini|
|00002680| 6e 67 20 74 6f 20 74 68 | 65 20 62 75 66 66 65 72 |ng to th|e buffer|
|00002690| 20 63 6f 6e 74 65 6e 74 | 73 20 6f 6e 20 77 72 69 | content|s on wri|
|000026a0| 74 65 2d 63 6f 6e 74 65 | 6e 74 73 2d 68 6f 6f 6b |te-conte|nts-hook|
|000026b0| 73 0a 61 6e 64 20 72 65 | 76 65 72 74 2d 62 75 66 |s.and re|vert-buf|
|000026c0| 66 65 72 2d 69 6e 73 65 | 72 74 2d 66 69 6c 65 2d |fer-inse|rt-file-|
|000026d0| 63 6f 6e 74 65 6e 74 73 | 2d 66 75 6e 63 74 69 6f |contents|-functio|
|000026e0| 6e 2e 1f 0a 28 64 65 66 | 76 61 72 20 61 66 74 65 |n...(def|var afte|
|000026f0| 72 2d 73 65 74 2d 76 69 | 73 69 74 65 64 2d 66 69 |r-set-vi|sited-fi|
|00002700| 6c 65 2d 6e 61 6d 65 2d | 68 6f 6f 6b 73 20 6e 69 |le-name-|hooks ni|
|00002710| 6c 20 28 23 24 20 2e 20 | 39 35 35 39 29 29 0a 23 |l (#$ . |9559)).#|
|00002720| 40 34 33 30 20 4c 69 73 | 74 20 6f 66 20 66 75 6e |@430 Lis|t of fun|
|00002730| 63 74 69 6f 6e 73 20 74 | 6f 20 62 65 20 63 61 6c |ctions t|o be cal|
|00002740| 6c 65 64 20 62 65 66 6f | 72 65 20 77 72 69 74 69 |led befo|re writi|
|00002750| 6e 67 20 6f 75 74 20 61 | 20 62 75 66 66 65 72 20 |ng out a| buffer |
|00002760| 74 6f 20 61 20 66 69 6c | 65 2e 0a 49 66 20 6f 6e |to a fil|e..If on|
|00002770| 65 20 6f 66 20 74 68 65 | 6d 20 72 65 74 75 72 6e |e of the|m return|
|00002780| 73 20 6e 6f 6e 2d 6e 69 | 6c 2c 20 74 68 65 20 66 |s non-ni|l, the f|
|00002790| 69 6c 65 20 69 73 20 63 | 6f 6e 73 69 64 65 72 65 |ile is c|onsidere|
|000027a0| 64 20 61 6c 72 65 61 64 | 79 20 77 72 69 74 74 65 |d alread|y writte|
|000027b0| 6e 0a 61 6e 64 20 74 68 | 65 20 72 65 73 74 20 61 |n.and th|e rest a|
|000027c0| 72 65 20 6e 6f 74 20 63 | 61 6c 6c 65 64 2e 0a 54 |re not c|alled..T|
|000027d0| 68 65 73 65 20 68 6f 6f | 6b 73 20 61 72 65 20 63 |hese hoo|ks are c|
|000027e0| 6f 6e 73 69 64 65 72 65 | 64 20 74 6f 20 70 65 72 |onsidere|d to per|
|000027f0| 74 61 69 6e 20 74 6f 20 | 74 68 65 20 62 75 66 66 |tain to |the buff|
|00002800| 65 72 27 73 20 63 6f 6e | 74 65 6e 74 73 2c 0a 6e |er's con|tents,.n|
|00002810| 6f 74 20 74 6f 20 74 68 | 65 20 70 61 72 74 69 63 |ot to th|e partic|
|00002820| 75 6c 61 72 20 76 69 73 | 69 74 65 64 20 66 69 6c |ular vis|ited fil|
|00002830| 65 3b 20 74 68 75 73 2c | 20 60 73 65 74 2d 76 69 |e; thus,| `set-vi|
|00002840| 73 69 74 65 64 2d 66 69 | 6c 65 2d 6e 61 6d 65 27 |sited-fi|le-name'|
|00002850| 20 64 6f 65 73 0a 6e 6f | 74 20 63 6c 65 61 72 20 | does.no|t clear |
|00002860| 74 68 69 73 20 76 61 72 | 69 61 62 6c 65 2c 20 62 |this var|iable, b|
|00002870| 75 74 20 63 68 61 6e 67 | 69 6e 67 20 74 68 65 20 |ut chang|ing the |
|00002880| 6d 61 6a 6f 72 20 6d 6f | 64 65 20 64 6f 65 73 20 |major mo|de does |
|00002890| 63 6c 65 61 72 20 69 74 | 2e 0a 53 65 65 20 61 6c |clear it|..See al|
|000028a0| 73 6f 20 60 77 72 69 74 | 65 2d 66 69 6c 65 2d 68 |so `writ|e-file-h|
|000028b0| 6f 6f 6b 73 27 20 61 6e | 64 20 60 63 6f 6e 74 69 |ooks' an|d `conti|
|000028c0| 6e 75 65 2d 73 61 76 65 | 2d 62 75 66 66 65 72 27 |nue-save|-buffer'|
|000028d0| 2e 1f 0a 28 64 65 66 76 | 61 72 20 77 72 69 74 65 |...(defv|ar write|
|000028e0| 2d 63 6f 6e 74 65 6e 74 | 73 2d 68 6f 6f 6b 73 20 |-content|s-hooks |
|000028f0| 6e 69 6c 20 28 23 24 20 | 2e 20 31 30 30 32 31 29 |nil (#$ |. 10021)|
|00002900| 29 0a 28 70 75 74 20 27 | 77 72 69 74 65 2d 66 69 |).(put '|write-fi|
|00002910| 6c 65 2d 64 61 74 61 2d | 68 6f 6f 6b 73 20 27 70 |le-data-|hooks 'p|
|00002920| 65 72 6d 61 6e 65 6e 74 | 2d 6c 6f 63 61 6c 20 74 |ermanent|-local t|
|00002930| 29 0a 23 40 34 36 38 20 | 4c 69 73 74 20 6f 66 20 |).#@468 |List of |
|00002940| 66 75 6e 63 74 69 6f 6e | 73 20 74 6f 20 62 65 20 |function|s to be |
|00002950| 63 61 6c 6c 65 64 20 74 | 6f 20 70 75 74 20 74 68 |called t|o put th|
|00002960| 65 20 62 79 74 65 73 20 | 6f 6e 20 64 69 73 6b 2e |e bytes |on disk.|
|00002970| 20 20 0a 54 68 65 73 65 | 20 66 75 6e 63 74 69 6f | .These| functio|
|00002980| 6e 73 20 72 65 63 65 69 | 76 65 20 74 68 65 20 6e |ns recei|ve the n|
|00002990| 61 6d 65 20 6f 66 20 74 | 68 65 20 66 69 6c 65 20 |ame of t|he file |
|000029a0| 74 6f 20 77 72 69 74 65 | 20 74 6f 20 61 73 20 61 |to write| to as a|
|000029b0| 72 67 75 6d 65 6e 74 2e | 0a 54 68 65 20 64 65 66 |rgument.|.The def|
|000029c0| 61 75 6c 74 20 62 65 68 | 61 76 69 6f 72 20 69 73 |ault beh|avior is|
|000029d0| 20 74 6f 20 63 61 6c 6c | 20 0a 20 20 28 77 72 69 | to call| . (wri|
|000029e0| 74 65 2d 72 65 67 69 6f | 6e 20 28 70 6f 69 6e 74 |te-regio|n (point|
|000029f0| 2d 6d 69 6e 29 20 28 70 | 6f 69 6e 74 2d 6d 61 78 |-min) (p|oint-max|
|00002a00| 29 20 66 69 6c 65 6e 61 | 6d 65 20 6e 69 6c 20 74 |) filena|me nil t|
|00002a10| 29 0a 49 66 20 6f 6e 65 | 20 6f 66 20 74 68 65 6d |).If one| of them|
|00002a20| 20 72 65 74 75 72 6e 73 | 20 6e 6f 6e 2d 6e 69 6c | returns| non-nil|
|00002a30| 2c 20 74 68 65 20 66 69 | 6c 65 20 69 73 20 63 6f |, the fi|le is co|
|00002a40| 6e 73 69 64 65 72 65 64 | 20 61 6c 72 65 61 64 79 |nsidered| already|
|00002a50| 20 77 72 69 74 74 65 6e | 0a 61 6e 64 20 74 68 65 | written|.and the|
|00002a60| 20 72 65 73 74 20 61 72 | 65 20 6e 6f 74 20 63 61 | rest ar|e not ca|
|00002a70| 6c 6c 65 64 2e 0a 54 68 | 65 73 65 20 68 6f 6f 6b |lled..Th|ese hook|
|00002a80| 73 20 61 72 65 20 63 6f | 6e 73 69 64 65 72 65 64 |s are co|nsidered|
|00002a90| 20 74 6f 20 70 65 72 74 | 61 69 6e 20 74 6f 20 74 | to pert|ain to t|
|00002aa0| 68 65 20 76 69 73 69 74 | 65 64 20 66 69 6c 65 2e |he visit|ed file.|
|00002ab0| 0a 53 6f 20 74 68 69 73 | 20 6c 69 73 74 20 69 73 |.So this| list is|
|00002ac0| 20 63 6c 65 61 72 65 64 | 20 69 66 20 79 6f 75 20 | cleared| if you |
|00002ad0| 63 68 61 6e 67 65 20 74 | 68 65 20 76 69 73 69 74 |change t|he visit|
|00002ae0| 65 64 20 66 69 6c 65 20 | 6e 61 6d 65 2e 0a 53 65 |ed file |name..Se|
|00002af0| 65 20 61 6c 73 6f 20 60 | 77 72 69 74 65 2d 66 69 |e also `|write-fi|
|00002b00| 6c 65 2d 68 6f 6f 6b 73 | 27 2e 1f 0a 28 64 65 66 |le-hooks|'...(def|
|00002b10| 76 61 72 20 77 72 69 74 | 65 2d 66 69 6c 65 2d 64 |var writ|e-file-d|
|00002b20| 61 74 61 2d 68 6f 6f 6b | 73 20 6e 69 6c 20 28 23 |ata-hook|s nil (#|
|00002b30| 24 20 2e 20 31 30 35 35 | 32 29 29 0a 28 63 75 73 |$ . 1055|2)).(cus|
|00002b40| 74 6f 6d 2d 64 65 63 6c | 61 72 65 2d 76 61 72 69 |tom-decl|are-vari|
|00002b50| 61 62 6c 65 20 27 65 6e | 61 62 6c 65 2d 6c 6f 63 |able 'en|able-loc|
|00002b60| 61 6c 2d 76 61 72 69 61 | 62 6c 65 73 20 27 74 20 |al-varia|bles 't |
|00002b70| 22 2a 43 6f 6e 74 72 6f | 6c 20 75 73 65 20 6f 66 |"*Contro|l use of|
|00002b80| 20 6c 6f 63 61 6c 2d 76 | 61 72 69 61 62 6c 65 73 | local-v|ariables|
|00002b90| 20 6c 69 73 74 73 20 69 | 6e 20 66 69 6c 65 73 20 | lists i|n files |
|00002ba0| 79 6f 75 20 76 69 73 69 | 74 2e 5c 6e 54 68 65 20 |you visi|t.\nThe |
|00002bb0| 76 61 6c 75 65 20 63 61 | 6e 20 62 65 20 74 2c 20 |value ca|n be t, |
|00002bc0| 6e 69 6c 20 6f 72 20 73 | 6f 6d 65 74 68 69 6e 67 |nil or s|omething|
|00002bd0| 20 65 6c 73 65 2e 5c 6e | 41 20 76 61 6c 75 65 20 | else.\n|A value |
|00002be0| 6f 66 20 74 20 6d 65 61 | 6e 73 20 6c 6f 63 61 6c |of t mea|ns local|
|00002bf0| 2d 76 61 72 69 61 62 6c | 65 73 20 6c 69 73 74 73 |-variabl|es lists|
|00002c00| 20 61 72 65 20 6f 62 65 | 79 65 64 3b 5c 6e 6e 69 | are obe|yed;\nni|
|00002c10| 6c 20 6d 65 61 6e 73 20 | 74 68 65 79 20 61 72 65 |l means |they are|
|00002c20| 20 69 67 6e 6f 72 65 64 | 3b 20 61 6e 79 74 68 69 | ignored|; anythi|
|00002c30| 6e 67 20 65 6c 73 65 20 | 6d 65 61 6e 73 20 71 75 |ng else |means qu|
|00002c40| 65 72 79 2e 5c 6e 5c 6e | 54 68 65 20 63 6f 6d 6d |ery.\n\n|The comm|
|00002c50| 61 6e 64 20 5c 5c 5b 6e | 6f 72 6d 61 6c 2d 6d 6f |and \\[n|ormal-mo|
|00002c60| 64 65 5d 20 61 6c 77 61 | 79 73 20 6f 62 65 79 73 |de] alwa|ys obeys|
|00002c70| 20 6c 6f 63 61 6c 2d 76 | 61 72 69 61 62 6c 65 73 | local-v|ariables|
|00002c80| 20 6c 69 73 74 73 5c 6e | 61 6e 64 20 69 67 6e 6f | lists\n|and igno|
|00002c90| 72 65 73 20 74 68 69 73 | 20 76 61 72 69 61 62 6c |res this| variabl|
|00002ca0| 65 2e 22 20 3a 74 79 70 | 65 20 27 28 63 68 6f 69 |e." :typ|e '(choi|
|00002cb0| 63 65 20 28 63 6f 6e 73 | 74 20 3a 74 61 67 20 22 |ce (cons|t :tag "|
|00002cc0| 4f 62 65 79 22 20 74 29 | 20 28 63 6f 6e 73 74 20 |Obey" t)| (const |
|00002cd0| 3a 74 61 67 20 22 49 67 | 6e 6f 72 65 22 20 6e 69 |:tag "Ig|nore" ni|
|00002ce0| 6c 29 20 28 73 65 78 70 | 20 3a 74 61 67 20 22 51 |l) (sexp| :tag "Q|
|00002cf0| 75 65 72 79 22 20 3a 66 | 6f 72 6d 61 74 20 22 25 |uery" :f|ormat "%|
|00002d00| 74 5c 6e 22 20 6f 74 68 | 65 72 29 29 20 3a 67 72 |t\n" oth|er)) :gr|
|00002d10| 6f 75 70 20 27 66 69 6e | 64 2d 66 69 6c 65 29 0a |oup 'fin|d-file).|
|00002d20| 28 63 75 73 74 6f 6d 2d | 64 65 63 6c 61 72 65 2d |(custom-|declare-|
|00002d30| 76 61 72 69 61 62 6c 65 | 20 27 65 6e 61 62 6c 65 |variable| 'enable|
|00002d40| 2d 6c 6f 63 61 6c 2d 65 | 76 61 6c 20 27 27 6d 61 |-local-e|val ''ma|
|00002d50| 79 62 65 20 22 2a 43 6f | 6e 74 72 6f 6c 20 70 72 |ybe "*Co|ntrol pr|
|00002d60| 6f 63 65 73 73 69 6e 67 | 20 6f 66 20 74 68 65 20 |ocessing| of the |
|00002d70| 5c 22 76 61 72 69 61 62 | 6c 65 5c 22 20 60 65 76 |\"variab|le\" `ev|
|00002d80| 61 6c 27 20 69 6e 20 61 | 20 66 69 6c 65 27 73 20 |al' in a| file's |
|00002d90| 6c 6f 63 61 6c 20 76 61 | 72 69 61 62 6c 65 73 2e |local va|riables.|
|00002da0| 5c 6e 54 68 65 20 76 61 | 6c 75 65 20 63 61 6e 20 |\nThe va|lue can |
|00002db0| 62 65 20 74 2c 20 6e 69 | 6c 20 6f 72 20 73 6f 6d |be t, ni|l or som|
|00002dc0| 65 74 68 69 6e 67 20 65 | 6c 73 65 2e 5c 6e 41 20 |ething e|lse.\nA |
|00002dd0| 76 61 6c 75 65 20 6f 66 | 20 74 20 6d 65 61 6e 73 |value of| t means|
|00002de0| 20 6f 62 65 79 20 60 65 | 76 61 6c 27 20 76 61 72 | obey `e|val' var|
|00002df0| 69 61 62 6c 65 73 3b 5c | 6e 6e 69 6c 20 6d 65 61 |iables;\|nnil mea|
|00002e00| 6e 73 20 69 67 6e 6f 72 | 65 20 74 68 65 6d 3b 20 |ns ignor|e them; |
|00002e10| 61 6e 79 74 68 69 6e 67 | 20 65 6c 73 65 20 6d 65 |anything| else me|
|00002e20| 61 6e 73 20 71 75 65 72 | 79 2e 5c 6e 5c 6e 54 68 |ans quer|y.\n\nTh|
|00002e30| 65 20 63 6f 6d 6d 61 6e | 64 20 5c 5c 5b 6e 6f 72 |e comman|d \\[nor|
|00002e40| 6d 61 6c 2d 6d 6f 64 65 | 5d 20 61 6c 77 61 79 73 |mal-mode|] always|
|00002e50| 20 6f 62 65 79 73 20 6c | 6f 63 61 6c 2d 76 61 72 | obeys l|ocal-var|
|00002e60| 69 61 62 6c 65 73 20 6c | 69 73 74 73 5c 6e 61 6e |iables l|ists\nan|
|00002e70| 64 20 69 67 6e 6f 72 65 | 73 20 74 68 69 73 20 76 |d ignore|s this v|
|00002e80| 61 72 69 61 62 6c 65 2e | 22 20 3a 74 79 70 65 20 |ariable.|" :type |
|00002e90| 27 28 63 68 6f 69 63 65 | 20 28 63 6f 6e 73 74 20 |'(choice| (const |
|00002ea0| 3a 74 61 67 20 22 4f 62 | 65 79 22 20 74 29 20 28 |:tag "Ob|ey" t) (|
|00002eb0| 63 6f 6e 73 74 20 3a 74 | 61 67 20 22 49 67 6e 6f |const :t|ag "Igno|
|00002ec0| 72 65 22 20 6e 69 6c 29 | 20 28 73 65 78 70 20 3a |re" nil)| (sexp :|
|00002ed0| 74 61 67 20 22 51 75 65 | 72 79 22 20 3a 66 6f 72 |tag "Que|ry" :for|
|00002ee0| 6d 61 74 20 22 25 74 5c | 6e 22 20 6f 74 68 65 72 |mat "%t\|n" other|
|00002ef0| 29 29 20 3a 67 72 6f 75 | 70 20 27 66 69 6e 64 2d |)) :grou|p 'find-|
|00002f00| 66 69 6c 65 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |file).(b|yte-code|
|00002f10| 20 22 c0 c1 21 ac 85 c2 | c1 c3 5c 22 88 c0 c4 21 | "..!...|..\"...!|
|00002f20| ac 85 c2 c4 c3 5c 22 88 | c0 87 22 20 5b 66 62 6f |.....\".|.." [fbo|
|00002f30| 75 6e 64 70 20 6c 6f 63 | 6b 2d 62 75 66 66 65 72 |undp loc|k-buffer|
|00002f40| 20 64 65 66 61 6c 69 61 | 73 20 69 67 6e 6f 72 65 | defalia|s ignore|
|00002f50| 20 75 6e 6c 6f 63 6b 2d | 62 75 66 66 65 72 5d 20 | unlock-|buffer] |
|00002f60| 33 29 0a 23 40 32 36 33 | 20 43 6f 6e 76 65 72 74 |3).#@263| Convert|
|00002f70| 20 61 20 73 74 61 6e 64 | 61 72 64 20 66 69 6c 65 | a stand|ard file|
|00002f80| 27 73 20 6e 61 6d 65 20 | 74 6f 20 73 6f 6d 65 74 |'s name |to somet|
|00002f90| 68 69 6e 67 20 73 75 69 | 74 61 62 6c 65 20 66 6f |hing sui|table fo|
|00002fa0| 72 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 4f 53 |r the cu|rrent OS|
|00002fb0| 2e 0a 54 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 27 |..This f|unction'|
|00002fc0| 73 20 73 74 61 6e 64 61 | 72 64 20 64 65 66 69 6e |s standa|rd defin|
|00002fd0| 69 74 69 6f 6e 20 69 73 | 20 74 72 69 76 69 61 6c |ition is| trivial|
|00002fe0| 3b 20 69 74 20 6a 75 73 | 74 20 72 65 74 75 72 6e |; it jus|t return|
|00002ff0| 73 20 74 68 65 20 61 72 | 67 75 6d 65 6e 74 2e 0a |s the ar|gument..|
|00003000| 48 6f 77 65 76 65 72 2c | 20 6f 6e 20 73 6f 6d 65 |However,| on some|
|00003010| 20 73 79 73 74 65 6d 73 | 2c 20 74 68 65 20 66 75 | systems|, the fu|
|00003020| 6e 63 74 69 6f 6e 20 69 | 73 20 72 65 64 65 66 69 |nction i|s redefi|
|00003030| 6e 65 64 0a 77 69 74 68 | 20 61 20 64 65 66 69 6e |ned.with| a defin|
|00003040| 69 74 69 6f 6e 20 74 68 | 61 74 20 72 65 61 6c 6c |ition th|at reall|
|00003050| 79 20 64 6f 65 73 20 63 | 68 61 6e 67 65 20 73 6f |y does c|hange so|
|00003060| 6d 65 20 66 69 6c 65 20 | 6e 61 6d 65 73 2e 1f 0a |me file |names...|
|00003070| 28 64 65 66 61 6c 69 61 | 73 20 27 63 6f 6e 76 65 |(defalia|s 'conve|
|00003080| 72 74 2d 73 74 61 6e 64 | 61 72 64 2d 66 69 6c 65 |rt-stand|ard-file|
|00003090| 6e 61 6d 65 20 23 5b 28 | 66 69 6c 65 6e 61 6d 65 |name #[(|filename|
|000030a0| 29 20 22 08 87 22 20 5b | 66 69 6c 65 6e 61 6d 65 |) ".." [|filename|
|000030b0| 5d 20 31 20 28 23 24 20 | 2e 20 31 32 31 33 37 29 |] 1 (#$ |. 12137)|
|000030c0| 5d 29 0a 23 40 33 37 20 | 53 68 6f 77 20 74 68 65 |]).#@37 |Show the|
|000030d0| 20 63 75 72 72 65 6e 74 | 20 64 65 66 61 75 6c 74 | current| default|
|000030e0| 20 64 69 72 65 63 74 6f | 72 79 2e 1f 0a 28 64 65 | directo|ry...(de|
|000030f0| 66 61 6c 69 61 73 20 27 | 70 77 64 20 23 5b 6e 69 |falias '|pwd #[ni|
|00003100| 6c 20 22 c0 c1 5c 6e 5c | 22 87 22 20 5b 6d 65 73 |l "..\n\|"." [mes|
|00003110| 73 61 67 65 20 22 44 69 | 72 65 63 74 6f 72 79 20 |sage "Di|rectory |
|00003120| 25 73 22 20 64 65 66 61 | 75 6c 74 2d 64 69 72 65 |%s" defa|ult-dire|
|00003130| 63 74 6f 72 79 5d 20 33 | 20 28 23 24 20 2e 20 31 |ctory] 3| (#$ . 1|
|00003140| 32 34 38 38 29 20 6e 69 | 6c 5d 29 0a 23 40 31 30 |2488) ni|l]).#@10|
|00003150| 37 20 56 61 6c 75 65 20 | 6f 66 20 74 68 65 20 43 |7 Value |of the C|
|00003160| 44 50 41 54 48 20 65 6e | 76 69 72 6f 6e 6d 65 6e |DPATH en|vironmen|
|00003170| 74 20 76 61 72 69 61 62 | 6c 65 2c 20 61 73 20 61 |t variab|le, as a|
|00003180| 20 6c 69 73 74 2e 0a 4e | 6f 74 20 61 63 74 75 61 | list..N|ot actua|
|00003190| 6c 6c 79 20 73 65 74 20 | 75 70 20 75 6e 74 69 6c |lly set |up until|
|000031a0| 20 74 68 65 20 66 69 72 | 73 74 20 74 69 6d 65 20 | the fir|st time |
|000031b0| 79 6f 75 20 75 73 65 20 | 69 74 2e 1f 0a 28 64 65 |you use |it...(de|
|000031c0| 66 76 61 72 20 63 64 2d | 70 61 74 68 20 6e 69 6c |fvar cd-|path nil|
|000031d0| 20 28 23 24 20 2e 20 31 | 32 36 32 36 29 29 0a 23 | (#$ . 1|2626)).#|
|000031e0| 40 34 38 20 43 68 61 72 | 61 63 74 65 72 20 75 73 |@48 Char|acter us|
|000031f0| 65 64 20 74 6f 20 73 65 | 70 61 72 61 74 65 20 63 |ed to se|parate c|
|00003200| 6f 6e 63 61 74 65 6e 61 | 74 65 64 20 70 61 74 68 |oncatena|ted path|
|00003210| 73 2e 1f 0a 28 64 65 66 | 76 61 72 20 70 61 74 68 |s...(def|var path|
|00003220| 2d 73 65 70 61 72 61 74 | 6f 72 20 22 3a 22 20 28 |-separat|or ":" (|
|00003230| 23 24 20 2e 20 31 32 37 | 37 32 29 29 0a 23 40 36 |#$ . 127|72)).#@6|
|00003240| 31 20 45 78 70 6c 6f 64 | 65 20 61 20 63 6f 6c 6f |1 Explod|e a colo|
|00003250| 6e 2d 73 65 70 61 72 61 | 74 65 64 20 6c 69 73 74 |n-separa|ted list|
|00003260| 20 6f 66 20 70 61 74 68 | 73 20 69 6e 74 6f 20 61 | of path|s into a|
|00003270| 20 73 74 72 69 6e 67 20 | 6c 69 73 74 2e 1f 0a 28 | string |list...(|
|00003280| 64 65 66 61 6c 69 61 73 | 20 27 70 61 72 73 65 2d |defalias| 'parse-|
|00003290| 63 6f 6c 6f 6e 2d 70 61 | 74 68 20 23 5b 28 63 64 |colon-pa|th #[(cd|
|000032a0| 2d 70 61 74 68 29 20 22 | 08 ad ae c1 c2 c1 1b 1c |-path) "|........|
|000032b0| 1d 08 0e 06 50 10 c7 0e | 06 08 0c 23 89 13 ab 97 |....P...|...#....|
|000032c0| 0d 0c 0b 55 3f ad 88 c8 | c9 08 0c 0b 4f 21 21 43 |...U?...|....O!!C|
|000032d0| a4 15 0b 54 14 aa 5f 0d | 2b 87 22 20 5b 63 64 2d |...T.._.|+." [cd-|
|000032e0| 70 61 74 68 20 6e 69 6c | 20 30 20 63 64 2d 63 6f |path nil| 0 cd-co|
|000032f0| 6c 6f 6e 20 63 64 2d 73 | 74 61 72 74 20 63 64 2d |lon cd-s|tart cd-|
|00003300| 6c 69 73 74 20 70 61 74 | 68 2d 73 65 70 61 72 61 |list pat|h-separa|
|00003310| 74 6f 72 20 73 74 72 69 | 6e 67 2d 6d 61 74 63 68 |tor stri|ng-match|
|00003320| 20 73 75 62 73 74 69 74 | 75 74 65 2d 69 6e 2d 66 | substit|ute-in-f|
|00003330| 69 6c 65 2d 6e 61 6d 65 | 20 66 69 6c 65 2d 6e 61 |ile-name| file-na|
|00003340| 6d 65 2d 61 73 2d 64 69 | 72 65 63 74 6f 72 79 5d |me-as-di|rectory]|
|00003350| 20 36 20 28 23 24 20 2e | 20 31 32 38 36 36 29 5d | 6 (#$ .| 12866)]|
|00003360| 29 0a 23 40 35 39 20 43 | 68 61 6e 67 65 20 63 75 |).#@59 C|hange cu|
|00003370| 72 72 65 6e 74 20 64 69 | 72 65 63 74 6f 72 79 20 |rrent di|rectory |
|00003380| 74 6f 20 67 69 76 65 6e | 20 61 62 73 6f 6c 75 74 |to given| absolut|
|00003390| 65 20 66 69 6c 65 20 6e | 61 6d 65 20 44 49 52 2e |e file n|ame DIR.|
|000033a0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 63 64 2d |..(defal|ias 'cd-|
|000033b0| 61 62 73 6f 6c 75 74 65 | 20 23 5b 28 64 69 72 29 |absolute| #[(dir)|
|000033c0| 20 22 08 c1 61 ac 84 c2 | 0b 21 13 0c ab 84 c5 0b | "..a...|.!......|
|000033d0| 21 13 c6 c7 0b 21 21 13 | c8 0b 21 ac 85 c9 ca 0b |!....!!.|..!.....|
|000033e0| 5c 22 87 0b 89 16 0b 87 | 22 20 5b 73 79 73 74 65 |\"......|" [syste|
|000033f0| 6d 2d 74 79 70 65 20 76 | 61 78 2d 76 6d 73 20 66 |m-type v|ax-vms f|
|00003400| 69 6c 65 2d 6e 61 6d 65 | 2d 61 73 2d 64 69 72 65 |ile-name|-as-dire|
|00003410| 63 74 6f 72 79 20 64 69 | 72 20 66 69 6e 64 2d 66 |ctory di|r find-f|
|00003420| 69 6c 65 2d 75 73 65 2d | 74 72 75 65 6e 61 6d 65 |ile-use-|truename|
|00003430| 73 20 66 69 6c 65 2d 74 | 72 75 65 6e 61 6d 65 20 |s file-t|ruename |
|00003440| 61 62 62 72 65 76 69 61 | 74 65 2d 66 69 6c 65 2d |abbrevia|te-file-|
|00003450| 6e 61 6d 65 20 65 78 70 | 61 6e 64 2d 66 69 6c 65 |name exp|and-file|
|00003460| 2d 6e 61 6d 65 20 66 69 | 6c 65 2d 64 69 72 65 63 |-name fi|le-direc|
|00003470| 74 6f 72 79 2d 70 20 65 | 72 72 6f 72 20 22 25 73 |tory-p e|rror "%s|
|00003480| 20 69 73 20 6e 6f 74 20 | 61 20 64 69 72 65 63 74 | is not |a direct|
|00003490| 6f 72 79 22 20 64 65 66 | 61 75 6c 74 2d 64 69 72 |ory" def|ault-dir|
|000034a0| 65 63 74 6f 72 79 5d 20 | 33 20 28 23 24 20 2e 20 |ectory] |3 (#$ . |
|000034b0| 31 33 31 35 39 29 5d 29 | 0a 23 40 32 30 36 20 4d |13159)])|.#@206 M|
|000034c0| 61 6b 65 20 44 49 52 20 | 62 65 63 6f 6d 65 20 74 |ake DIR |become t|
|000034d0| 68 65 20 63 75 72 72 65 | 6e 74 20 62 75 66 66 65 |he curre|nt buffe|
|000034e0| 72 27 73 20 64 65 66 61 | 75 6c 74 20 64 69 72 65 |r's defa|ult dire|
|000034f0| 63 74 6f 72 79 2e 0a 49 | 66 20 79 6f 75 72 20 65 |ctory..I|f your e|
|00003500| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 69 6e 63 6c 75 |nvironme|nt inclu|
|00003510| 64 65 73 20 61 20 60 43 | 44 50 41 54 48 27 20 76 |des a `C|DPATH' v|
|00003520| 61 72 69 61 62 6c 65 2c | 20 74 72 79 20 65 61 63 |ariable,| try eac|
|00003530| 68 20 6f 6e 65 20 6f 66 | 20 74 68 61 74 0a 63 6f |h one of| that.co|
|00003540| 6c 6f 6e 2d 73 65 70 61 | 72 61 74 65 64 20 6c 69 |lon-sepa|rated li|
|00003550| 73 74 20 6f 66 20 64 69 | 72 65 63 74 6f 72 69 65 |st of di|rectorie|
|00003560| 73 20 77 68 65 6e 20 72 | 65 73 6f 6c 76 69 6e 67 |s when r|esolving|
|00003570| 20 61 20 72 65 6c 61 74 | 69 76 65 20 64 69 72 65 | a relat|ive dire|
|00003580| 63 74 6f 72 79 20 6e 61 | 6d 65 2e 1f 0a 28 64 65 |ctory na|me...(de|
|00003590| 66 61 6c 69 61 73 20 27 | 63 64 20 23 5b 28 64 69 |falias '|cd #[(di|
|000035a0| 72 29 20 22 c0 09 21 ab | 86 c2 c3 09 21 21 87 0c |r) "..!.|....!!..|
|000035b0| ac 8e c5 c6 c7 21 21 89 | 1e 08 ae 82 c9 43 14 29 |.....!!.|.....C.)|
|000035c0| ca cb 8d ae 90 0c cc 6b | ab 87 cd ce c3 09 21 5c |.......k|......!\|
|000035d0| 22 87 cd cf 09 5c 22 87 | 22 20 5b 66 69 6c 65 2d |"....\".|" [file-|
|000035e0| 6e 61 6d 65 2d 61 62 73 | 6f 6c 75 74 65 2d 70 20 |name-abs|olute-p |
|000035f0| 64 69 72 20 63 64 2d 61 | 62 73 6f 6c 75 74 65 20 |dir cd-a|bsolute |
|00003600| 65 78 70 61 6e 64 2d 66 | 69 6c 65 2d 6e 61 6d 65 |expand-f|ile-name|
|00003610| 20 63 64 2d 70 61 74 68 | 20 70 61 72 73 65 2d 63 | cd-path| parse-c|
|00003620| 6f 6c 6f 6e 2d 70 61 74 | 68 20 67 65 74 65 6e 76 |olon-pat|h getenv|
|00003630| 20 22 43 44 50 41 54 48 | 22 20 74 72 79 70 61 74 | "CDPATH|" trypat|
|00003640| 68 20 22 2e 2f 22 20 66 | 6f 75 6e 64 20 28 62 79 |h "./" f|ound (by|
|00003650| 74 65 2d 63 6f 64 65 20 | 22 c0 c1 5c 6e 5c 22 88 |te-code |"..\n\".|
|00003660| c3 87 22 20 5b 6d 61 70 | 63 61 72 20 23 5b 28 78 |.." [map|car #[(x|
|00003670| 29 20 22 c0 09 5c 6e 50 | 21 1b c4 0b 21 ad 88 c5 |) "..\nP|!...!...|
|00003680| 0b 21 88 c6 c7 c8 5c 22 | 29 87 22 20 5b 65 78 70 |.!....\"|)." [exp|
|00003690| 61 6e 64 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 78 20 |and-file|-name x |
|000036a0| 64 69 72 20 66 20 66 69 | 6c 65 2d 64 69 72 65 63 |dir f fi|le-direc|
|000036b0| 74 6f 72 79 2d 70 20 63 | 64 2d 61 62 73 6f 6c 75 |tory-p c|d-absolu|
|000036c0| 74 65 20 74 68 72 6f 77 | 20 66 6f 75 6e 64 20 74 |te throw| found t|
|000036d0| 5d 20 33 5d 20 63 64 2d | 70 61 74 68 20 6e 69 6c |] 3] cd-|path nil|
|000036e0| 5d 20 33 29 20 28 22 2e | 2f 22 29 20 65 72 72 6f |] 3) (".|/") erro|
|000036f0| 72 20 22 4e 6f 20 73 75 | 63 68 20 64 69 72 65 63 |r "No su|ch direc|
|00003700| 74 6f 72 79 3a 20 25 73 | 22 20 22 44 69 72 65 63 |tory: %s|" "Direc|
|00003710| 74 6f 72 79 20 6e 6f 74 | 20 66 6f 75 6e 64 20 69 |tory not| found i|
|00003720| 6e 20 24 43 44 50 41 54 | 48 3a 20 25 73 22 5d 20 |n $CDPAT|H: %s"] |
|00003730| 35 20 28 23 24 20 2e 20 | 31 33 35 30 33 29 20 28 |5 (#$ . |13503) (|
|00003740| 6c 69 73 74 20 28 72 65 | 61 64 2d 64 69 72 65 63 |list (re|ad-direc|
|00003750| 74 6f 72 79 2d 6e 61 6d | 65 20 22 43 68 61 6e 67 |tory-nam|e "Chang|
|00003760| 65 20 64 65 66 61 75 6c | 74 20 64 69 72 65 63 74 |e defaul|t direct|
|00003770| 6f 72 79 3a 20 22 20 64 | 65 66 61 75 6c 74 2d 64 |ory: " d|efault-d|
|00003780| 69 72 65 63 74 6f 72 79 | 20 64 65 66 61 75 6c 74 |irectory| default|
|00003790| 2d 64 69 72 65 63 74 6f | 72 79 20 28 61 6e 64 20 |-directo|ry (and |
|000037a0| 28 6d 65 6d 62 65 72 20 | 63 64 2d 70 61 74 68 20 |(member |cd-path |
|000037b0| 27 28 6e 69 6c 20 28 22 | 2e 2f 22 29 29 29 20 28 |'(nil ("|./"))) (|
|000037c0| 6e 75 6c 6c 20 28 67 65 | 74 65 6e 76 20 22 43 44 |null (ge|tenv "CD|
|000037d0| 50 41 54 48 22 29 29 29 | 29 29 5d 29 0a 23 40 33 |PATH")))|))]).#@3|
|000037e0| 32 20 4c 6f 61 64 20 74 | 68 65 20 4c 69 73 70 20 |2 Load t|he Lisp |
|000037f0| 66 69 6c 65 20 6e 61 6d | 65 64 20 46 49 4c 45 2e |file nam|ed FILE.|
|00003800| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 6c 6f 61 |..(defal|ias 'loa|
|00003810| 64 2d 66 69 6c 65 20 23 | 5b 28 66 69 6c 65 29 20 |d-file #|[(file) |
|00003820| 22 c0 c1 5c 6e 21 c3 89 | c4 24 87 22 20 5b 6c 6f |"..\n!..|.$." [lo|
|00003830| 61 64 20 65 78 70 61 6e | 64 2d 66 69 6c 65 2d 6e |ad expan|d-file-n|
|00003840| 61 6d 65 20 66 69 6c 65 | 20 6e 69 6c 20 74 5d 20 |ame file| nil t] |
|00003850| 35 20 28 23 24 20 2e 20 | 31 34 33 30 36 29 20 22 |5 (#$ . |14306) "|
|00003860| 66 4c 6f 61 64 20 66 69 | 6c 65 3a 20 22 5d 29 0a |fLoad fi|le: "]).|
|00003870| 23 40 31 33 35 20 43 6f | 70 79 20 74 68 65 20 66 |#@135 Co|py the f|
|00003880| 69 6c 65 20 46 49 4c 45 | 20 69 6e 74 6f 20 61 20 |ile FILE| into a |
|00003890| 74 65 6d 70 6f 72 61 72 | 79 20 66 69 6c 65 20 6f |temporar|y file o|
|000038a0| 6e 20 74 68 69 73 20 6d | 61 63 68 69 6e 65 2e 0a |n this m|achine..|
|000038b0| 52 65 74 75 72 6e 73 20 | 74 68 65 20 6e 61 6d 65 |Returns |the name|
|000038c0| 20 6f 66 20 74 68 65 20 | 6c 6f 63 61 6c 20 63 6f | of the |local co|
|000038d0| 70 79 2c 20 6f 72 20 6e | 69 6c 2c 20 69 66 20 46 |py, or n|il, if F|
|000038e0| 49 4c 45 20 69 73 20 64 | 69 72 65 63 74 6c 79 0a |ILE is d|irectly.|
|000038f0| 61 63 63 65 73 73 69 62 | 6c 65 2e 1f 0a 28 64 65 |accessib|le...(de|
|00003900| 66 61 6c 69 61 73 20 27 | 66 69 6c 65 2d 6c 6f 63 |falias '|file-loc|
|00003910| 61 6c 2d 63 6f 70 79 20 | 23 5b 28 66 69 6c 65 20 |al-copy |#[(file |
|00003920| 26 6f 70 74 69 6f 6e 61 | 6c 20 62 75 66 66 65 72 |&optiona|l buffer|
|00003930| 29 20 22 c0 09 c2 5c 22 | 89 1b ad 84 0b c2 09 5c |) "...\"|.......\|
|00003940| 22 29 87 22 20 5b 66 69 | 6e 64 2d 66 69 6c 65 2d |")." [fi|nd-file-|
|00003950| 6e 61 6d 65 2d 68 61 6e | 64 6c 65 72 20 66 69 6c |name-han|dler fil|
|00003960| 65 20 66 69 6c 65 2d 6c | 6f 63 61 6c 2d 63 6f 70 |e file-l|ocal-cop|
|00003970| 79 20 68 61 6e 64 6c 65 | 72 5d 20 34 20 28 23 24 |y handle|r] 4 (#$|
|00003980| 20 2e 20 31 34 34 35 34 | 29 5d 29 0a 23 40 31 35 | . 14454|)]).#@15|
|00003990| 37 20 52 65 63 6f 6d 70 | 75 74 65 73 20 42 55 46 |7 Recomp|utes BUF|
|000039a0| 46 45 52 27 73 20 76 61 | 6c 75 65 20 6f 66 20 60 |FER's va|lue of `|
|000039b0| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 74 72 75 65 |buffer-f|ile-true|
|000039c0| 6e 61 6d 65 27 0a 62 61 | 73 65 64 20 6f 6e 20 74 |name'.ba|sed on t|
|000039d0| 68 65 20 63 75 72 72 65 | 6e 74 20 76 61 6c 75 65 |he curre|nt value|
|000039e0| 20 6f 66 20 60 62 75 66 | 66 65 72 2d 66 69 6c 65 | of `buf|fer-file|
|000039f0| 2d 6e 61 6d 65 27 2e 0a | 42 55 46 46 45 52 20 64 |-name'..|BUFFER d|
|00003a00| 65 66 61 75 6c 74 73 20 | 74 6f 20 74 68 65 20 63 |efaults |to the c|
|00003a10| 75 72 72 65 6e 74 20 62 | 75 66 66 65 72 20 69 66 |urrent b|uffer if|
|00003a20| 20 75 6e 73 70 65 63 69 | 66 69 65 64 2e 1f 0a 28 | unspeci|fied...(|
|00003a30| 64 65 66 61 6c 69 61 73 | 20 27 63 6f 6d 70 75 74 |defalias| 'comput|
|00003a40| 65 2d 62 75 66 66 65 72 | 2d 66 69 6c 65 2d 74 72 |e-buffer|-file-tr|
|00003a50| 75 65 6e 61 6d 65 20 23 | 5b 28 26 6f 70 74 69 6f |uename #|[(&optio|
|00003a60| 6e 61 6c 20 62 75 66 66 | 65 72 29 20 22 8a 08 ae |nal buff|er) "...|
|00003a70| 81 70 71 88 09 ac 84 c2 | 13 aa a2 c4 09 21 89 13 |.pq.....|.....!..|
|00003a80| ac 9b c5 09 21 1e 06 c4 | 0e 06 21 89 1e 07 ab 84 |....!...|..!.....|
|00003a90| 0e 07 16 06 c8 c9 09 21 | 0e 06 5c 22 13 2a 0e 5c |.......!|..\".*.\|
|00003aa0| 6e ab 8c 0b ab 89 cb 0b | 21 11 c5 09 21 16 0c 0b |n.......|!...!...|
|00003ab0| 29 87 22 20 5b 62 75 66 | 66 65 72 20 62 75 66 66 |)." [buf|fer buff|
|00003ac0| 65 72 2d 66 69 6c 65 2d | 6e 61 6d 65 20 6e 69 6c |er-file-|name nil|
|00003ad0| 20 62 75 66 66 65 72 2d | 66 69 6c 65 2d 74 72 75 | buffer-|file-tru|
|00003ae0| 65 6e 61 6d 65 20 66 69 | 6c 65 2d 74 72 75 65 6e |ename fi|le-truen|
|00003af0| 61 6d 65 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 64 69 |ame file|-name-di|
|00003b00| 72 65 63 74 6f 72 79 20 | 64 69 72 20 74 72 75 65 |rectory |dir true|
|00003b10| 64 69 72 20 65 78 70 61 | 6e 64 2d 66 69 6c 65 2d |dir expa|nd-file-|
|00003b20| 6e 61 6d 65 20 66 69 6c | 65 2d 6e 61 6d 65 2d 6e |name fil|e-name-n|
|00003b30| 6f 6e 64 69 72 65 63 74 | 6f 72 79 20 66 69 6e 64 |ondirect|ory find|
|00003b40| 2d 66 69 6c 65 2d 75 73 | 65 2d 74 72 75 65 6e 61 |-file-us|e-truena|
|00003b50| 6d 65 73 20 61 62 62 72 | 65 76 69 61 74 65 2d 66 |mes abbr|eviate-f|
|00003b60| 69 6c 65 2d 6e 61 6d 65 | 20 64 65 66 61 75 6c 74 |ile-name| default|
|00003b70| 2d 64 69 72 65 63 74 6f | 72 79 5d 20 34 20 28 23 |-directo|ry] 4 (#|
|00003b80| 24 20 2e 20 31 34 37 33 | 38 29 5d 29 0a 23 40 31 |$ . 1473|8)]).#@1|
|00003b90| 33 33 20 43 68 61 73 65 | 20 6c 69 6e 6b 73 20 69 |33 Chase| links i|
|00003ba0| 6e 20 46 49 4c 45 4e 41 | 4d 45 20 75 6e 74 69 6c |n FILENA|ME until|
|00003bb0| 20 61 20 6e 61 6d 65 20 | 74 68 61 74 20 69 73 20 | a name |that is |
|00003bc0| 6e 6f 74 20 61 20 6c 69 | 6e 6b 2e 0a 44 6f 65 73 |not a li|nk..Does|
|00003bd0| 20 6e 6f 74 20 65 78 61 | 6d 69 6e 65 20 63 6f 6e | not exa|mine con|
|00003be0| 74 61 69 6e 69 6e 67 20 | 64 69 72 65 63 74 6f 72 |taining |director|
|00003bf0| 69 65 73 20 66 6f 72 20 | 6c 69 6e 6b 73 2c 0a 75 |ies for |links,.u|
|00003c00| 6e 6c 69 6b 65 20 60 66 | 69 6c 65 2d 74 72 75 65 |nlike `f|ile-true|
|00003c10| 6e 61 6d 65 27 2e 1f 0a | 28 64 65 66 61 6c 69 61 |name'...|(defalia|
|00003c20| 73 20 27 66 69 6c 65 2d | 63 68 61 73 65 2d 6c 69 |s 'file-|chase-li|
|00003c30| 6e 6b 73 20 23 5b 28 66 | 69 6c 65 6e 61 6d 65 29 |nks #[(f|ilename)|
|00003c40| 20 22 c0 c1 5c 6e 1b 1c | 1d c6 0b 21 89 15 ab c6 | "..\n..|...!....|
|00003c50| 0c c7 55 ab 85 c8 c9 5c | 6e 5c 22 88 ca cb 0d 5c |..U....\|n\"....\|
|00003c60| 22 ab 8f 0d c7 89 94 54 | 4f 0d c7 95 c0 4f 50 15 |"......T|O....OP.|
|00003c70| aa 6b ca cc 0d 5c 22 ab | 95 0d cd c0 4f 15 ce cf |.k...\".|....O...|
|00003c80| d0 d1 cf d0 0b 21 21 21 | 21 21 21 13 aa 65 d2 0d |.....!!!|!!!..e..|
|00003c90| d0 0b 21 5c 22 13 0c 53 | 14 aa 33 0b 2b 87 22 20 |..!\"..S|..3.+." |
|00003ca0| 5b 6e 69 6c 20 31 30 30 | 20 66 69 6c 65 6e 61 6d |[nil 100| filenam|
|00003cb0| 65 20 6e 65 77 6e 61 6d | 65 20 63 6f 75 6e 74 20 |e newnam|e count |
|00003cc0| 74 65 6d 20 66 69 6c 65 | 2d 73 79 6d 6c 69 6e 6b |tem file|-symlink|
|00003cd0| 2d 70 20 30 20 65 72 72 | 6f 72 20 22 41 70 70 61 |-p 0 err|or "Appa|
|00003ce0| 72 65 6e 74 20 63 79 63 | 6c 65 20 6f 66 20 73 79 |rent cyc|le of sy|
|00003cf0| 6d 62 6f 6c 69 63 20 6c | 69 6e 6b 73 20 66 6f 72 |mbolic l|inks for|
|00003d00| 20 25 73 22 20 73 74 72 | 69 6e 67 2d 6d 61 74 63 | %s" str|ing-matc|
|00003d10| 68 20 22 2f 2f 2b 22 20 | 22 5c 5c 60 5c 5c 2e 5c |h "//+" |"\\`\\.\|
|00003d20| 5c 2e 2f 22 20 33 20 66 | 69 6c 65 2d 6e 61 6d 65 |\./" 3 f|ile-name|
|00003d30| 2d 61 73 2d 64 69 72 65 | 63 74 6f 72 79 20 64 69 |-as-dire|ctory di|
|00003d40| 72 65 63 74 6f 72 79 2d | 66 69 6c 65 2d 6e 61 6d |rectory-|file-nam|
|00003d50| 65 20 66 69 6c 65 2d 6e | 61 6d 65 2d 64 69 72 65 |e file-n|ame-dire|
|00003d60| 63 74 6f 72 79 20 66 69 | 6c 65 2d 63 68 61 73 65 |ctory fi|le-chase|
|00003d70| 2d 6c 69 6e 6b 73 20 65 | 78 70 61 6e 64 2d 66 69 |-links e|xpand-fi|
|00003d80| 6c 65 2d 6e 61 6d 65 5d | 20 37 20 28 23 24 20 2e |le-name]| 7 (#$ .|
|00003d90| 20 31 35 32 35 31 29 5d | 29 0a 23 40 31 37 34 20 | 15251)]|).#@174 |
|00003da0| 53 77 69 74 63 68 20 74 | 6f 20 74 68 65 20 70 72 |Switch t|o the pr|
|00003db0| 65 76 69 6f 75 73 20 62 | 75 66 66 65 72 2e 20 20 |evious b|uffer. |
|00003dc0| 57 69 74 68 20 61 20 6e | 75 6d 65 72 69 63 20 61 |With a n|umeric a|
|00003dd0| 72 67 2c 20 6e 2c 20 73 | 77 69 74 63 68 20 74 6f |rg, n, s|witch to|
|00003de0| 20 74 68 65 20 6e 74 68 | 0a 6d 6f 73 74 20 72 65 | the nth|.most re|
|00003df0| 63 65 6e 74 20 62 75 66 | 66 65 72 2e 20 20 57 69 |cent buf|fer. Wi|
|00003e00| 74 68 20 61 6e 20 61 72 | 67 20 6f 66 20 30 2c 20 |th an ar|g of 0, |
|00003e10| 62 75 72 69 65 73 20 74 | 68 65 20 63 75 72 72 65 |buries t|he curre|
|00003e20| 6e 74 20 62 75 66 66 65 | 72 20 61 74 20 74 68 65 |nt buffe|r at the|
|00003e30| 0a 62 6f 74 74 6f 6d 20 | 6f 66 20 74 68 65 20 62 |.bottom |of the b|
|00003e40| 75 66 66 65 72 20 73 74 | 61 63 6b 2e 1f 0a 28 64 |uffer st|ack...(d|
|00003e50| 65 66 61 6c 69 61 73 20 | 27 73 77 69 74 63 68 2d |efalias |'switch-|
|00003e60| 74 6f 2d 6f 74 68 65 72 | 2d 62 75 66 66 65 72 20 |to-other|-buffer |
|00003e70| 23 5b 28 61 72 67 29 20 | 22 08 c1 61 ab 84 c2 70 |#[(arg) |"..a...p|
|00003e80| 21 88 c3 08 c4 58 ab 85 | c5 70 21 aa 85 08 54 c6 |!....X..|.p!...T.|
|00003e90| 20 38 21 87 22 20 5b 61 | 72 67 20 30 20 62 75 72 | 8!." [a|rg 0 bur|
|00003ea0| 79 2d 62 75 66 66 65 72 | 20 73 77 69 74 63 68 2d |y-buffer| switch-|
|00003eb0| 74 6f 2d 62 75 66 66 65 | 72 20 31 20 6f 74 68 65 |to-buffe|r 1 othe|
|00003ec0| 72 2d 62 75 66 66 65 72 | 20 62 75 66 66 65 72 2d |r-buffer| buffer-|
|00003ed0| 6c 69 73 74 5d 20 33 20 | 28 23 24 20 2e 20 31 35 |list] 3 |(#$ . 15|
|00003ee0| 37 37 36 29 20 22 70 22 | 5d 29 0a 23 40 34 31 20 |776) "p"|]).#@41 |
|00003ef0| 53 65 6c 65 63 74 20 62 | 75 66 66 65 72 20 42 55 |Select b|uffer BU|
|00003f00| 46 46 45 52 20 69 6e 20 | 61 6e 6f 74 68 65 72 20 |FFER in |another |
|00003f10| 77 69 6e 64 6f 77 2e 1f | 0a 28 64 65 66 61 6c 69 |window..|.(defali|
|00003f20| 61 73 20 27 73 77 69 74 | 63 68 2d 74 6f 2d 62 75 |as 'swit|ch-to-bu|
|00003f30| 66 66 65 72 2d 6f 74 68 | 65 72 2d 77 69 6e 64 6f |ffer-oth|er-windo|
|00003f40| 77 20 23 5b 28 62 75 66 | 66 65 72 29 20 22 c0 19 |w #[(buf|fer) "..|
|00003f50| c2 0b c0 c4 20 23 29 87 | 22 20 5b 74 20 70 6f 70 |.... #).|" [t pop|
|00003f60| 2d 75 70 2d 77 69 6e 64 | 6f 77 73 20 70 6f 70 2d |-up-wind|ows pop-|
|00003f70| 74 6f 2d 62 75 66 66 65 | 72 20 62 75 66 66 65 72 |to-buffe|r buffer|
|00003f80| 20 73 65 6c 65 63 74 65 | 64 2d 66 72 61 6d 65 5d | selecte|d-frame]|
|00003f90| 20 34 20 28 23 24 20 2e | 20 31 36 31 31 32 29 20 | 4 (#$ .| 16112) |
|00003fa0| 22 42 53 77 69 74 63 68 | 20 74 6f 20 62 75 66 66 |"BSwitch| to buff|
|00003fb0| 65 72 20 69 6e 20 6f 74 | 68 65 72 20 77 69 6e 64 |er in ot|her wind|
|00003fc0| 6f 77 3a 20 22 5d 29 0a | 23 40 35 31 20 53 77 69 |ow: "]).|#@51 Swi|
|00003fd0| 74 63 68 20 74 6f 20 62 | 75 66 66 65 72 20 42 55 |tch to b|uffer BU|
|00003fe0| 46 46 45 52 20 69 6e 20 | 61 20 6e 65 77 6c 79 2d |FFER in |a newly-|
|00003ff0| 63 72 65 61 74 65 64 20 | 66 72 61 6d 65 2e 1f 0a |created |frame...|
|00004000| 28 64 65 66 61 6c 69 61 | 73 20 27 73 77 69 74 63 |(defalia|s 'switc|
|00004010| 68 2d 74 6f 2d 62 75 66 | 66 65 72 2d 6f 74 68 65 |h-to-buf|fer-othe|
|00004020| 72 2d 66 72 61 6d 65 20 | 23 5b 28 62 75 66 66 65 |r-frame |#[(buffe|
|00004030| 72 29 20 22 c0 09 21 1a | c3 5c 6e ad 86 c2 c4 5c |r) "..!.|.\n....\|
|00004040| 6e 21 42 43 21 1d c6 09 | c7 0d 23 88 c8 0d 21 88 |n!BC!...|..#...!.|
|00004050| 09 2a 87 22 20 5b 67 65 | 74 2d 66 72 61 6d 65 2d |.*." [ge|t-frame-|
|00004060| 6e 61 6d 65 2d 66 6f 72 | 2d 62 75 66 66 65 72 20 |name-for|-buffer |
|00004070| 62 75 66 66 65 72 20 6e | 61 6d 65 20 6d 61 6b 65 |buffer n|ame make|
|00004080| 2d 66 72 61 6d 65 20 73 | 79 6d 62 6f 6c 2d 6e 61 |-frame s|ymbol-na|
|00004090| 6d 65 20 66 72 61 6d 65 | 20 70 6f 70 2d 74 6f 2d |me frame| pop-to-|
|000040a0| 62 75 66 66 65 72 20 74 | 20 6d 61 6b 65 2d 66 72 |buffer t| make-fr|
|000040b0| 61 6d 65 2d 76 69 73 69 | 62 6c 65 5d 20 34 20 28 |ame-visi|ble] 4 (|
|000040c0| 23 24 20 2e 20 31 36 33 | 33 33 29 20 22 42 53 77 |#$ . 163|33) "BSw|
|000040d0| 69 74 63 68 20 74 6f 20 | 62 75 66 66 65 72 20 69 |itch to |buffer i|
|000040e0| 6e 20 6f 74 68 65 72 20 | 66 72 61 6d 65 3a 20 22 |n other |frame: "|
|000040f0| 5d 29 0a 23 40 32 38 38 | 20 45 64 69 74 20 66 69 |]).#@288| Edit fi|
|00004100| 6c 65 20 46 49 4c 45 4e | 41 4d 45 2e 0a 53 77 69 |le FILEN|AME..Swi|
|00004110| 74 63 68 20 74 6f 20 61 | 20 62 75 66 66 65 72 20 |tch to a| buffer |
|00004120| 76 69 73 69 74 69 6e 67 | 20 66 69 6c 65 20 46 49 |visiting| file FI|
|00004130| 4c 45 4e 41 4d 45 2c 0a | 63 72 65 61 74 69 6e 67 |LENAME,.|creating|
|00004140| 20 6f 6e 65 20 69 66 20 | 6e 6f 6e 65 20 61 6c 72 | one if |none alr|
|00004150| 65 61 64 79 20 65 78 69 | 73 74 73 2e 0a 55 6e 64 |eady exi|sts..Und|
|00004160| 65 72 20 58 45 6d 61 63 | 73 2f 4d 75 6c 65 2c 20 |er XEmac|s/Mule, |
|00004170| 6f 70 74 69 6f 6e 61 6c | 20 73 65 63 6f 6e 64 20 |optional| second |
|00004180| 61 72 67 75 6d 65 6e 74 | 20 73 70 65 63 69 66 69 |argument| specifi|
|00004190| 65 73 20 74 68 65 0a 63 | 6f 64 69 6e 67 20 73 79 |es the.c|oding sy|
|000041a0| 73 74 65 6d 20 74 6f 20 | 75 73 65 20 77 68 65 6e |stem to |use when|
|000041b0| 20 64 65 63 6f 64 69 6e | 67 20 74 68 65 20 66 69 | decodin|g the fi|
|000041c0| 6c 65 2e 20 20 49 6e 74 | 65 72 61 63 74 69 76 65 |le. Int|eractive|
|000041d0| 6c 79 2c 0a 77 69 74 68 | 20 61 20 70 72 65 66 69 |ly,.with| a prefi|
|000041e0| 78 20 61 72 67 75 6d 65 | 6e 74 2c 20 79 6f 75 20 |x argume|nt, you |
|000041f0| 77 69 6c 6c 20 62 65 20 | 70 72 6f 6d 70 74 65 64 |will be |prompted|
|00004200| 20 66 6f 72 20 74 68 65 | 20 63 6f 64 69 6e 67 20 | for the| coding |
|00004210| 73 79 73 74 65 6d 2e 1f | 0a 28 64 65 66 61 6c 69 |system..|.(defali|
|00004220| 61 73 20 27 66 69 6e 64 | 2d 66 69 6c 65 20 23 5b |as 'find|-file #[|
|00004230| 28 66 69 6c 65 6e 61 6d | 65 20 26 6f 70 74 69 6f |(filenam|e &optio|
|00004240| 6e 61 6c 20 63 6f 64 65 | 73 79 73 29 20 22 08 ab |nal code|sys) "..|
|00004250| 8b c1 08 21 1a c3 c4 0d | 21 21 29 87 c3 c4 0d 21 |...!....|!!)....!|
|00004260| 21 87 22 20 5b 63 6f 64 | 65 73 79 73 20 67 65 74 |!." [cod|esys get|
|00004270| 2d 63 6f 64 69 6e 67 2d | 73 79 73 74 65 6d 20 63 |-coding-|system c|
|00004280| 6f 64 69 6e 67 2d 73 79 | 73 74 65 6d 2d 66 6f 72 |oding-sy|stem-for|
|00004290| 2d 72 65 61 64 20 73 77 | 69 74 63 68 2d 74 6f 2d |-read sw|itch-to-|
|000042a0| 62 75 66 66 65 72 20 66 | 69 6e 64 2d 66 69 6c 65 |buffer f|ind-file|
|000042b0| 2d 6e 6f 73 65 6c 65 63 | 74 20 66 69 6c 65 6e 61 |-noselec|t filena|
|000042c0| 6d 65 5d 20 33 20 28 23 | 24 20 2e 20 31 36 36 33 |me] 3 (#|$ . 1663|
|000042d0| 33 29 20 22 46 46 69 6e | 64 20 66 69 6c 65 3a 20 |3) "FFin|d file: |
|000042e0| 5c 6e 5a 43 6f 64 69 6e | 67 20 73 79 73 74 65 6d |\nZCodin|g system|
|000042f0| 3a 20 22 5d 29 0a 23 40 | 33 31 33 20 45 64 69 74 |: "]).#@|313 Edit|
|00004300| 20 66 69 6c 65 20 46 49 | 4c 45 4e 41 4d 45 2c 20 | file FI|LENAME, |
|00004310| 69 6e 20 61 6e 6f 74 68 | 65 72 20 77 69 6e 64 6f |in anoth|er windo|
|00004320| 77 2e 0a 4d 61 79 20 63 | 72 65 61 74 65 20 61 20 |w..May c|reate a |
|00004330| 6e 65 77 20 77 69 6e 64 | 6f 77 2c 20 6f 72 20 72 |new wind|ow, or r|
|00004340| 65 75 73 65 20 61 6e 20 | 65 78 69 73 74 69 6e 67 |euse an |existing|
|00004350| 20 6f 6e 65 2e 0a 53 65 | 65 20 74 68 65 20 66 75 | one..Se|e the fu|
|00004360| 6e 63 74 69 6f 6e 20 60 | 64 69 73 70 6c 61 79 2d |nction `|display-|
|00004370| 62 75 66 66 65 72 27 2e | 0a 55 6e 64 65 72 20 58 |buffer'.|.Under X|
|00004380| 45 6d 61 63 73 2f 4d 75 | 6c 65 2c 20 6f 70 74 69 |Emacs/Mu|le, opti|
|00004390| 6f 6e 61 6c 20 73 65 63 | 6f 6e 64 20 61 72 67 75 |onal sec|ond argu|
|000043a0| 6d 65 6e 74 20 73 70 65 | 63 69 66 69 65 73 20 74 |ment spe|cifies t|
|000043b0| 68 65 0a 63 6f 64 69 6e | 67 20 73 79 73 74 65 6d |he.codin|g system|
|000043c0| 20 74 6f 20 75 73 65 20 | 77 68 65 6e 20 64 65 63 | to use |when dec|
|000043d0| 6f 64 69 6e 67 20 74 68 | 65 20 66 69 6c 65 2e 20 |oding th|e file. |
|000043e0| 20 49 6e 74 65 72 61 63 | 74 69 76 65 6c 79 2c 0a | Interac|tively,.|
|000043f0| 77 69 74 68 20 61 20 70 | 72 65 66 69 78 20 61 72 |with a p|refix ar|
|00004400| 67 75 6d 65 6e 74 2c 20 | 79 6f 75 20 77 69 6c 6c |gument, |you will|
|00004410| 20 62 65 20 70 72 6f 6d | 70 74 65 64 20 66 6f 72 | be prom|pted for|
|00004420| 20 74 68 65 20 63 6f 64 | 69 6e 67 20 73 79 73 74 | the cod|ing syst|
|00004430| 65 6d 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |em...(de|falias '|
|00004440| 66 69 6e 64 2d 66 69 6c | 65 2d 6f 74 68 65 72 2d |find-fil|e-other-|
|00004450| 77 69 6e 64 6f 77 20 23 | 5b 28 66 69 6c 65 6e 61 |window #|[(filena|
|00004460| 6d 65 20 26 6f 70 74 69 | 6f 6e 61 6c 20 63 6f 64 |me &opti|onal cod|
|00004470| 65 73 79 73 29 20 22 08 | ab 8b c1 08 21 1a c3 c4 |esys) ".|....!...|
|00004480| 0d 21 21 29 87 c3 c4 0d | 21 21 87 22 20 5b 63 6f |.!!)....|!!." [co|
|00004490| 64 65 73 79 73 20 67 65 | 74 2d 63 6f 64 69 6e 67 |desys ge|t-coding|
|000044a0| 2d 73 79 73 74 65 6d 20 | 63 6f 64 69 6e 67 2d 73 |-system |coding-s|
|000044b0| 79 73 74 65 6d 2d 66 6f | 72 2d 72 65 61 64 20 73 |ystem-fo|r-read s|
|000044c0| 77 69 74 63 68 2d 74 6f | 2d 62 75 66 66 65 72 2d |witch-to|-buffer-|
|000044d0| 6f 74 68 65 72 2d 77 69 | 6e 64 6f 77 20 66 69 6e |other-wi|ndow fin|
|000044e0| 64 2d 66 69 6c 65 2d 6e | 6f 73 65 6c 65 63 74 20 |d-file-n|oselect |
|000044f0| 66 69 6c 65 6e 61 6d 65 | 5d 20 33 20 28 23 24 20 |filename|] 3 (#$ |
|00004500| 2e 20 31 37 31 34 38 29 | 20 22 46 46 69 6e 64 20 |. 17148)| "FFind |
|00004510| 66 69 6c 65 20 69 6e 20 | 6f 74 68 65 72 20 77 69 |file in |other wi|
|00004520| 6e 64 6f 77 3a 20 5c 6e | 5a 43 6f 64 69 6e 67 20 |ndow: \n|ZCoding |
|00004530| 73 79 73 74 65 6d 3a 20 | 22 5d 29 0a 23 40 32 33 |system: |"]).#@23|
|00004540| 34 20 45 64 69 74 20 66 | 69 6c 65 20 46 49 4c 45 |4 Edit f|ile FILE|
|00004550| 4e 41 4d 45 2c 20 69 6e | 20 61 20 6e 65 77 6c 79 |NAME, in| a newly|
|00004560| 2d 63 72 65 61 74 65 64 | 20 66 72 61 6d 65 2e 0a |-created| frame..|
|00004570| 55 6e 64 65 72 20 58 45 | 6d 61 63 73 2f 4d 75 6c |Under XE|macs/Mul|
|00004580| 65 2c 20 6f 70 74 69 6f | 6e 61 6c 20 73 65 63 6f |e, optio|nal seco|
|00004590| 6e 64 20 61 72 67 75 6d | 65 6e 74 20 73 70 65 63 |nd argum|ent spec|
|000045a0| 69 66 69 65 73 20 74 68 | 65 0a 63 6f 64 69 6e 67 |ifies th|e.coding|
|000045b0| 20 73 79 73 74 65 6d 20 | 74 6f 20 75 73 65 20 77 | system |to use w|
|000045c0| 68 65 6e 20 64 65 63 6f | 64 69 6e 67 20 74 68 65 |hen deco|ding the|
|000045d0| 20 66 69 6c 65 2e 20 20 | 49 6e 74 65 72 61 63 74 | file. |Interact|
|000045e0| 69 76 65 6c 79 2c 0a 77 | 69 74 68 20 61 20 70 72 |ively,.w|ith a pr|
|000045f0| 65 66 69 78 20 61 72 67 | 75 6d 65 6e 74 2c 20 79 |efix arg|ument, y|
|00004600| 6f 75 20 77 69 6c 6c 20 | 62 65 20 70 72 6f 6d 70 |ou will |be promp|
|00004610| 74 65 64 20 66 6f 72 20 | 74 68 65 20 63 6f 64 69 |ted for |the codi|
|00004620| 6e 67 20 73 79 73 74 65 | 6d 2e 1f 0a 28 64 65 66 |ng syste|m...(def|
|00004630| 61 6c 69 61 73 20 27 66 | 69 6e 64 2d 66 69 6c 65 |alias 'f|ind-file|
|00004640| 2d 6f 74 68 65 72 2d 66 | 72 61 6d 65 20 23 5b 28 |-other-f|rame #[(|
|00004650| 66 69 6c 65 6e 61 6d 65 | 20 26 6f 70 74 69 6f 6e |filename| &option|
|00004660| 61 6c 20 63 6f 64 65 73 | 79 73 29 20 22 08 ab 8b |al codes|ys) "...|
|00004670| c1 08 21 1a c3 c4 0d 21 | 21 29 87 c3 c4 0d 21 21 |..!....!|!)....!!|
|00004680| 87 22 20 5b 63 6f 64 65 | 73 79 73 20 67 65 74 2d |." [code|sys get-|
|00004690| 63 6f 64 69 6e 67 2d 73 | 79 73 74 65 6d 20 63 6f |coding-s|ystem co|
|000046a0| 64 69 6e 67 2d 73 79 73 | 74 65 6d 2d 66 6f 72 2d |ding-sys|tem-for-|
|000046b0| 72 65 61 64 20 73 77 69 | 74 63 68 2d 74 6f 2d 62 |read swi|tch-to-b|
|000046c0| 75 66 66 65 72 2d 6f 74 | 68 65 72 2d 66 72 61 6d |uffer-ot|her-fram|
|000046d0| 65 20 66 69 6e 64 2d 66 | 69 6c 65 2d 6e 6f 73 65 |e find-f|ile-nose|
|000046e0| 6c 65 63 74 20 66 69 6c | 65 6e 61 6d 65 5d 20 33 |lect fil|ename] 3|
|000046f0| 20 28 23 24 20 2e 20 31 | 37 37 33 30 29 20 22 46 | (#$ . 1|7730) "F|
|00004700| 46 69 6e 64 20 66 69 6c | 65 20 69 6e 20 6f 74 68 |Find fil|e in oth|
|00004710| 65 72 20 66 72 61 6d 65 | 3a 20 5c 6e 5a 43 6f 64 |er frame|: \nZCod|
|00004720| 69 6e 67 20 73 79 73 74 | 65 6d 3a 20 22 5d 29 0a |ing syst|em: "]).|
|00004730| 23 40 33 32 34 20 45 64 | 69 74 20 66 69 6c 65 20 |#@324 Ed|it file |
|00004740| 46 49 4c 45 4e 41 4d 45 | 20 62 75 74 20 64 6f 6e |FILENAME| but don|
|00004750| 27 74 20 61 6c 6c 6f 77 | 20 63 68 61 6e 67 65 73 |'t allow| changes|
|00004760| 2e 0a 4c 69 6b 65 20 5c | 5b 66 69 6e 64 2d 66 69 |..Like \|[find-fi|
|00004770| 6c 65 5d 20 62 75 74 20 | 6d 61 72 6b 73 20 62 75 |le] but |marks bu|
|00004780| 66 66 65 72 20 61 73 20 | 72 65 61 64 2d 6f 6e 6c |ffer as |read-onl|
|00004790| 79 2e 0a 55 73 65 20 5c | 5b 74 6f 67 67 6c 65 2d |y..Use \|[toggle-|
|000047a0| 72 65 61 64 2d 6f 6e 6c | 79 5d 20 74 6f 20 70 65 |read-onl|y] to pe|
|000047b0| 72 6d 69 74 20 65 64 69 | 74 69 6e 67 2e 0a 55 6e |rmit edi|ting..Un|
|000047c0| 64 65 72 20 58 45 6d 61 | 63 73 2f 4d 75 6c 65 2c |der XEma|cs/Mule,|
|000047d0| 20 6f 70 74 69 6f 6e 61 | 6c 20 73 65 63 6f 6e 64 | optiona|l second|
|000047e0| 20 61 72 67 75 6d 65 6e | 74 20 73 70 65 63 69 66 | argumen|t specif|
|000047f0| 69 65 73 20 74 68 65 0a | 63 6f 64 69 6e 67 20 73 |ies the.|coding s|
|00004800| 79 73 74 65 6d 20 74 6f | 20 75 73 65 20 77 68 65 |ystem to| use whe|
|00004810| 6e 20 64 65 63 6f 64 69 | 6e 67 20 74 68 65 20 66 |n decodi|ng the f|
|00004820| 69 6c 65 2e 20 20 49 6e | 74 65 72 61 63 74 69 76 |ile. In|teractiv|
|00004830| 65 6c 79 2c 0a 77 69 74 | 68 20 61 20 70 72 65 66 |ely,.wit|h a pref|
|00004840| 69 78 20 61 72 67 75 6d | 65 6e 74 2c 20 79 6f 75 |ix argum|ent, you|
|00004850| 20 77 69 6c 6c 20 62 65 | 20 70 72 6f 6d 70 74 65 | will be| prompte|
|00004860| 64 20 66 6f 72 20 74 68 | 65 20 63 6f 64 69 6e 67 |d for th|e coding|
|00004870| 20 73 79 73 74 65 6d 2e | 1f 0a 28 64 65 66 61 6c | system.|..(defal|
|00004880| 69 61 73 20 27 66 69 6e | 64 2d 66 69 6c 65 2d 72 |ias 'fin|d-file-r|
|00004890| 65 61 64 2d 6f 6e 6c 79 | 20 23 5b 28 66 69 6c 65 |ead-only| #[(file|
|000048a0| 6e 61 6d 65 20 26 6f 70 | 74 69 6f 6e 61 6c 20 63 |name &op|tional c|
|000048b0| 6f 64 65 73 79 73 29 20 | 22 08 ab 8b c1 08 21 1a |odesys) |".....!.|
|000048c0| c3 0c 21 88 29 aa 84 c3 | 0c 21 88 c5 16 06 70 87 |..!.)...|.!....p.|
|000048d0| 22 20 5b 63 6f 64 65 73 | 79 73 20 67 65 74 2d 63 |" [codes|ys get-c|
|000048e0| 6f 64 69 6e 67 2d 73 79 | 73 74 65 6d 20 63 6f 64 |oding-sy|stem cod|
|000048f0| 69 6e 67 2d 73 79 73 74 | 65 6d 2d 66 6f 72 2d 72 |ing-syst|em-for-r|
|00004900| 65 61 64 20 66 69 6e 64 | 2d 66 69 6c 65 20 66 69 |ead find|-file fi|
|00004910| 6c 65 6e 61 6d 65 20 74 | 20 62 75 66 66 65 72 2d |lename t| buffer-|
|00004920| 72 65 61 64 2d 6f 6e 6c | 79 5d 20 32 20 28 23 24 |read-onl|y] 2 (#$|
|00004930| 20 2e 20 31 38 32 33 30 | 29 20 22 66 46 69 6e 64 | . 18230|) "fFind|
|00004940| 20 66 69 6c 65 20 72 65 | 61 64 2d 6f 6e 6c 79 3a | file re|ad-only:|
|00004950| 20 5c 6e 5a 43 6f 64 69 | 6e 67 20 73 79 73 74 65 | \nZCodi|ng syste|
|00004960| 6d 3a 20 22 5d 29 0a 23 | 40 33 35 35 20 45 64 69 |m: "]).#|@355 Edi|
|00004970| 74 20 66 69 6c 65 20 46 | 49 4c 45 4e 41 4d 45 20 |t file F|ILENAME |
|00004980| 69 6e 20 61 6e 6f 74 68 | 65 72 20 77 69 6e 64 6f |in anoth|er windo|
|00004990| 77 20 62 75 74 20 64 6f | 6e 27 74 20 61 6c 6c 6f |w but do|n't allo|
|000049a0| 77 20 63 68 61 6e 67 65 | 73 2e 0a 4c 69 6b 65 20 |w change|s..Like |
|000049b0| 5c 5b 66 69 6e 64 2d 66 | 69 6c 65 2d 6f 74 68 65 |\[find-f|ile-othe|
|000049c0| 72 2d 77 69 6e 64 6f 77 | 5d 20 62 75 74 20 6d 61 |r-window|] but ma|
|000049d0| 72 6b 73 20 62 75 66 66 | 65 72 20 61 73 20 72 65 |rks buff|er as re|
|000049e0| 61 64 2d 6f 6e 6c 79 2e | 0a 55 73 65 20 5c 5b 74 |ad-only.|.Use \[t|
|000049f0| 6f 67 67 6c 65 2d 72 65 | 61 64 2d 6f 6e 6c 79 5d |oggle-re|ad-only]|
|00004a00| 20 74 6f 20 70 65 72 6d | 69 74 20 65 64 69 74 69 | to perm|it editi|
|00004a10| 6e 67 2e 0a 55 6e 64 65 | 72 20 58 45 6d 61 63 73 |ng..Unde|r XEmacs|
|00004a20| 2f 4d 75 6c 65 2c 20 6f | 70 74 69 6f 6e 61 6c 20 |/Mule, o|ptional |
|00004a30| 73 65 63 6f 6e 64 20 61 | 72 67 75 6d 65 6e 74 20 |second a|rgument |
|00004a40| 73 70 65 63 69 66 69 65 | 73 20 74 68 65 0a 63 6f |specifie|s the.co|
|00004a50| 64 69 6e 67 20 73 79 73 | 74 65 6d 20 74 6f 20 75 |ding sys|tem to u|
|00004a60| 73 65 20 77 68 65 6e 20 | 64 65 63 6f 64 69 6e 67 |se when |decoding|
|00004a70| 20 74 68 65 20 66 69 6c | 65 2e 20 20 49 6e 74 65 | the fil|e. Inte|
|00004a80| 72 61 63 74 69 76 65 6c | 79 2c 0a 77 69 74 68 20 |ractivel|y,.with |
|00004a90| 61 20 70 72 65 66 69 78 | 20 61 72 67 75 6d 65 6e |a prefix| argumen|
|00004aa0| 74 2c 20 79 6f 75 20 77 | 69 6c 6c 20 62 65 20 70 |t, you w|ill be p|
|00004ab0| 72 6f 6d 70 74 65 64 20 | 66 6f 72 20 74 68 65 20 |rompted |for the |
|00004ac0| 63 6f 64 69 6e 67 20 73 | 79 73 74 65 6d 2e 1f 0a |coding s|ystem...|
|00004ad0| 28 64 65 66 61 6c 69 61 | 73 20 27 66 69 6e 64 2d |(defalia|s 'find-|
|00004ae0| 66 69 6c 65 2d 72 65 61 | 64 2d 6f 6e 6c 79 2d 6f |file-rea|d-only-o|
|00004af0| 74 68 65 72 2d 77 69 6e | 64 6f 77 20 23 5b 28 66 |ther-win|dow #[(f|
|00004b00| 69 6c 65 6e 61 6d 65 20 | 26 6f 70 74 69 6f 6e 61 |ilename |&optiona|
|00004b10| 6c 20 63 6f 64 65 73 79 | 73 29 20 22 08 ab 8b c1 |l codesy|s) "....|
|00004b20| 08 21 1a c3 0c 21 88 29 | aa 84 c3 0c 21 88 c5 16 |.!...!.)|....!...|
|00004b30| 06 70 87 22 20 5b 63 6f | 64 65 73 79 73 20 67 65 |.p." [co|desys ge|
|00004b40| 74 2d 63 6f 64 69 6e 67 | 2d 73 79 73 74 65 6d 20 |t-coding|-system |
|00004b50| 63 6f 64 69 6e 67 2d 73 | 79 73 74 65 6d 2d 66 6f |coding-s|ystem-fo|
|00004b60| 72 2d 72 65 61 64 20 66 | 69 6e 64 2d 66 69 6c 65 |r-read f|ind-file|
|00004b70| 2d 6f 74 68 65 72 2d 77 | 69 6e 64 6f 77 20 66 69 |-other-w|indow fi|
|00004b80| 6c 65 6e 61 6d 65 20 74 | 20 62 75 66 66 65 72 2d |lename t| buffer-|
|00004b90| 72 65 61 64 2d 6f 6e 6c | 79 5d 20 32 20 28 23 24 |read-onl|y] 2 (#$|
|00004ba0| 20 2e 20 31 38 37 39 37 | 29 20 22 66 46 69 6e 64 | . 18797|) "fFind|
|00004bb0| 20 66 69 6c 65 20 72 65 | 61 64 2d 6f 6e 6c 79 20 | file re|ad-only |
|00004bc0| 6f 74 68 65 72 20 77 69 | 6e 64 6f 77 3a 20 5c 6e |other wi|ndow: \n|
|00004bd0| 5a 43 6f 64 69 6e 67 20 | 73 79 73 74 65 6d 3a 20 |ZCoding |system: |
|00004be0| 22 5d 29 0a 23 40 33 35 | 33 20 45 64 69 74 20 66 |"]).#@35|3 Edit f|
|00004bf0| 69 6c 65 20 46 49 4c 45 | 4e 41 4d 45 20 69 6e 20 |ile FILE|NAME in |
|00004c00| 61 6e 6f 74 68 65 72 20 | 66 72 61 6d 65 20 62 75 |another |frame bu|
|00004c10| 74 20 64 6f 6e 27 74 20 | 61 6c 6c 6f 77 20 63 68 |t don't |allow ch|
|00004c20| 61 6e 67 65 73 2e 0a 4c | 69 6b 65 20 5c 5b 66 69 |anges..L|ike \[fi|
|00004c30| 6e 64 2d 66 69 6c 65 2d | 6f 74 68 65 72 2d 66 72 |nd-file-|other-fr|
|00004c40| 61 6d 65 5d 20 62 75 74 | 20 6d 61 72 6b 73 20 62 |ame] but| marks b|
|00004c50| 75 66 66 65 72 20 61 73 | 20 72 65 61 64 2d 6f 6e |uffer as| read-on|
|00004c60| 6c 79 2e 0a 55 73 65 20 | 5c 5b 74 6f 67 67 6c 65 |ly..Use |\[toggle|
|00004c70| 2d 72 65 61 64 2d 6f 6e | 6c 79 5d 20 74 6f 20 70 |-read-on|ly] to p|
|00004c80| 65 72 6d 69 74 20 65 64 | 69 74 69 6e 67 2e 0a 55 |ermit ed|iting..U|
|00004c90| 6e 64 65 72 20 58 45 6d | 61 63 73 2f 4d 75 6c 65 |nder XEm|acs/Mule|
|00004ca0| 2c 20 6f 70 74 69 6f 6e | 61 6c 20 73 65 63 6f 6e |, option|al secon|
|00004cb0| 64 20 61 72 67 75 6d 65 | 6e 74 20 73 70 65 63 69 |d argume|nt speci|
|00004cc0| 66 69 65 73 20 74 68 65 | 0a 63 6f 64 69 6e 67 20 |fies the|.coding |
|00004cd0| 73 79 73 74 65 6d 20 74 | 6f 20 75 73 65 20 77 68 |system t|o use wh|
|00004ce0| 65 6e 20 64 65 63 6f 64 | 69 6e 67 20 74 68 65 20 |en decod|ing the |
|00004cf0| 66 69 6c 65 2e 20 20 49 | 6e 74 65 72 61 63 74 69 |file. I|nteracti|
|00004d00| 76 65 6c 79 2c 0a 77 69 | 74 68 20 61 20 70 72 65 |vely,.wi|th a pre|
|00004d10| 66 69 78 20 61 72 67 75 | 6d 65 6e 74 2c 20 79 6f |fix argu|ment, yo|
|00004d20| 75 20 77 69 6c 6c 20 62 | 65 20 70 72 6f 6d 70 74 |u will b|e prompt|
|00004d30| 65 64 20 66 6f 72 20 74 | 68 65 20 63 6f 64 69 6e |ed for t|he codin|
|00004d40| 67 20 73 79 73 74 65 6d | 2e 1f 0a 28 64 65 66 61 |g system|...(defa|
|00004d50| 6c 69 61 73 20 27 66 69 | 6e 64 2d 66 69 6c 65 2d |lias 'fi|nd-file-|
|00004d60| 72 65 61 64 2d 6f 6e 6c | 79 2d 6f 74 68 65 72 2d |read-onl|y-other-|
|00004d70| 66 72 61 6d 65 20 23 5b | 28 66 69 6c 65 6e 61 6d |frame #[|(filenam|
|00004d80| 65 20 26 6f 70 74 69 6f | 6e 61 6c 20 63 6f 64 65 |e &optio|nal code|
|00004d90| 73 79 73 29 20 22 08 ab | 8b c1 08 21 1a c3 0c 21 |sys) "..|...!...!|
|00004da0| 88 29 aa 84 c3 0c 21 88 | c5 16 06 70 87 22 20 5b |.)....!.|...p." [|
|00004db0| 63 6f 64 65 73 79 73 20 | 67 65 74 2d 63 6f 64 69 |codesys |get-codi|
|00004dc0| 6e 67 2d 73 79 73 74 65 | 6d 20 63 6f 64 69 6e 67 |ng-syste|m coding|
|00004dd0| 2d 73 79 73 74 65 6d 2d | 66 6f 72 2d 72 65 61 64 |-system-|for-read|
|00004de0| 20 66 69 6e 64 2d 66 69 | 6c 65 2d 6f 74 68 65 72 | find-fi|le-other|
|00004df0| 2d 66 72 61 6d 65 20 66 | 69 6c 65 6e 61 6d 65 20 |-frame f|ilename |
|00004e00| 74 20 62 75 66 66 65 72 | 2d 72 65 61 64 2d 6f 6e |t buffer|-read-on|
|00004e10| 6c 79 5d 20 32 20 28 23 | 24 20 2e 20 31 39 34 33 |ly] 2 (#|$ . 1943|
|00004e20| 34 29 20 22 66 46 69 6e | 64 20 66 69 6c 65 20 72 |4) "fFin|d file r|
|00004e30| 65 61 64 2d 6f 6e 6c 79 | 20 6f 74 68 65 72 20 66 |ead-only| other f|
|00004e40| 72 61 6d 65 3a 20 5c 6e | 5a 43 6f 64 69 6e 67 20 |rame: \n|ZCoding |
|00004e50| 73 79 73 74 65 6d 3a 20 | 22 5d 29 0a 23 40 32 39 |system: |"]).#@29|
|00004e60| 39 20 46 69 6e 64 20 66 | 69 6c 65 20 46 49 4c 45 |9 Find f|ile FILE|
|00004e70| 4e 41 4d 45 20 61 73 20 | 61 20 72 65 70 6c 61 63 |NAME as |a replac|
|00004e80| 65 6d 65 6e 74 20 66 6f | 72 20 74 68 65 20 66 69 |ement fo|r the fi|
|00004e90| 6c 65 20 69 6e 20 74 68 | 65 20 6e 65 78 74 20 77 |le in th|e next w|
|00004ea0| 69 6e 64 6f 77 2e 0a 54 | 68 69 73 20 63 6f 6d 6d |indow..T|his comm|
|00004eb0| 61 6e 64 20 64 6f 65 73 | 20 6e 6f 74 20 73 65 6c |and does| not sel|
|00004ec0| 65 63 74 20 74 68 61 74 | 20 77 69 6e 64 6f 77 2e |ect that| window.|
|00004ed0| 0a 55 6e 64 65 72 20 58 | 45 6d 61 63 73 2f 4d 75 |.Under X|Emacs/Mu|
|00004ee0| 6c 65 2c 20 6f 70 74 69 | 6f 6e 61 6c 20 73 65 63 |le, opti|onal sec|
|00004ef0| 6f 6e 64 20 61 72 67 75 | 6d 65 6e 74 20 73 70 65 |ond argu|ment spe|
|00004f00| 63 69 66 69 65 73 20 74 | 68 65 0a 63 6f 64 69 6e |cifies t|he.codin|
|00004f10| 67 20 73 79 73 74 65 6d | 20 74 6f 20 75 73 65 20 |g system| to use |
|00004f20| 77 68 65 6e 20 64 65 63 | 6f 64 69 6e 67 20 74 68 |when dec|oding th|
|00004f30| 65 20 66 69 6c 65 2e 20 | 20 49 6e 74 65 72 61 63 |e file. | Interac|
|00004f40| 74 69 76 65 6c 79 2c 0a | 77 69 74 68 20 61 20 70 |tively,.|with a p|
|00004f50| 72 65 66 69 78 20 61 72 | 67 75 6d 65 6e 74 2c 20 |refix ar|gument, |
|00004f60| 79 6f 75 20 77 69 6c 6c | 20 62 65 20 70 72 6f 6d |you will| be prom|
|00004f70| 70 74 65 64 20 66 6f 72 | 20 74 68 65 20 63 6f 64 |pted for| the cod|
|00004f80| 69 6e 67 20 73 79 73 74 | 65 6d 2e 1f 0a 28 64 65 |ing syst|em...(de|
|00004f90| 66 61 6c 69 61 73 20 27 | 66 69 6e 64 2d 61 6c 74 |falias '|find-alt|
|00004fa0| 65 72 6e 61 74 65 2d 66 | 69 6c 65 2d 6f 74 68 65 |ernate-f|ile-othe|
|00004fb0| 72 2d 77 69 6e 64 6f 77 | 20 23 5b 28 66 69 6c 65 |r-window| #[(file|
|00004fc0| 6e 61 6d 65 20 26 6f 70 | 74 69 6f 6e 61 6c 20 63 |name &op|tional c|
|00004fd0| 6f 64 65 73 79 73 29 20 | 22 c0 20 ab 84 c1 5c 6e |odesys) |". ...\n|
|00004fe0| 21 87 c3 20 1c c5 8e c6 | c7 21 88 c8 5c 6e 0e 09 |!.. ....|.!..\n..|
|00004ff0| 5c 22 2a 87 22 20 5b 6f | 6e 65 2d 77 69 6e 64 6f |\"*." [o|ne-windo|
|00005000| 77 2d 70 20 66 69 6e 64 | 2d 66 69 6c 65 2d 6f 74 |w-p find|-file-ot|
|00005010| 68 65 72 2d 77 69 6e 64 | 6f 77 20 66 69 6c 65 6e |her-wind|ow filen|
|00005020| 61 6d 65 20 73 65 6c 65 | 63 74 65 64 2d 77 69 6e |ame sele|cted-win|
|00005030| 64 6f 77 20 73 61 76 65 | 2d 73 65 6c 65 63 74 65 |dow save|-selecte|
|00005040| 64 2d 77 69 6e 64 6f 77 | 2d 77 69 6e 64 6f 77 20 |d-window|-window |
|00005050| 28 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 09 21 |((byte-c|ode "..!|
|00005060| ab 84 c2 09 21 88 c0 87 | 22 20 5b 77 69 6e 64 6f |....!...|" [windo|
|00005070| 77 2d 6c 69 76 65 2d 70 | 20 73 61 76 65 2d 73 65 |w-live-p| save-se|
|00005080| 6c 65 63 74 65 64 2d 77 | 69 6e 64 6f 77 2d 77 69 |lected-w|indow-wi|
|00005090| 6e 64 6f 77 20 73 65 6c | 65 63 74 2d 77 69 6e 64 |ndow sel|ect-wind|
|000050a0| 6f 77 5d 20 32 29 29 20 | 6f 74 68 65 72 2d 77 69 |ow] 2)) |other-wi|
|000050b0| 6e 64 6f 77 20 31 20 66 | 69 6e 64 2d 61 6c 74 65 |ndow 1 f|ind-alte|
|000050c0| 72 6e 61 74 65 2d 66 69 | 6c 65 20 63 6f 64 65 73 |rnate-fi|le codes|
|000050d0| 79 73 5d 20 33 20 28 23 | 24 20 2e 20 32 30 30 36 |ys] 3 (#|$ . 2006|
|000050e0| 36 29 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |6) (byte|-code ".|
|000050f0| 20 19 c2 8e c3 c4 21 88 | 0d c6 89 1e 07 1e 08 89 | .....!.|........|
|00005100| 1e 09 ab 8c ca 0e 09 21 | 16 08 cb 0e 09 21 16 07 |.......!|.....!..|
|00005110| cc cd 0e 07 c6 89 0e 08 | 25 0e 0e ad 88 cf d0 21 |........|%......!|
|00005120| ad 83 d1 d2 21 2d 44 87 | 22 20 5b 73 65 6c 65 63 |....!-D.|" [selec|
|00005130| 74 65 64 2d 77 69 6e 64 | 6f 77 20 73 61 76 65 2d |ted-wind|ow save-|
|00005140| 73 65 6c 65 63 74 65 64 | 2d 77 69 6e 64 6f 77 2d |selected|-window-|
|00005150| 77 69 6e 64 6f 77 20 28 | 28 62 79 74 65 2d 63 6f |window (|(byte-co|
|00005160| 64 65 20 22 c0 09 21 ab | 84 c2 09 21 88 c0 87 22 |de "..!.|...!..."|
|00005170| 20 5b 77 69 6e 64 6f 77 | 2d 6c 69 76 65 2d 70 20 | [window|-live-p |
|00005180| 73 61 76 65 2d 73 65 6c | 65 63 74 65 64 2d 77 69 |save-sel|ected-wi|
|00005190| 6e 64 6f 77 2d 77 69 6e | 64 6f 77 20 73 65 6c 65 |ndow-win|dow sele|
|000051a0| 63 74 2d 77 69 6e 64 6f | 77 5d 20 32 29 29 20 6f |ct-windo|w] 2)) o|
|000051b0| 74 68 65 72 2d 77 69 6e | 64 6f 77 20 31 20 62 75 |ther-win|dow 1 bu|
|000051c0| 66 66 65 72 2d 66 69 6c | 65 2d 6e 61 6d 65 20 6e |ffer-fil|e-name n|
|000051d0| 69 6c 20 66 69 6c 65 2d | 64 69 72 20 66 69 6c 65 |il file-|dir file|
|000051e0| 2d 6e 61 6d 65 20 66 69 | 6c 65 20 66 69 6c 65 2d |-name fi|le file-|
|000051f0| 6e 61 6d 65 2d 6e 6f 6e | 64 69 72 65 63 74 6f 72 |name-non|director|
|00005200| 79 20 66 69 6c 65 2d 6e | 61 6d 65 2d 64 69 72 65 |y file-n|ame-dire|
|00005210| 63 74 6f 72 79 20 72 65 | 61 64 2d 66 69 6c 65 2d |ctory re|ad-file-|
|00005220| 6e 61 6d 65 20 22 46 69 | 6e 64 20 61 6c 74 65 72 |name "Fi|nd alter|
|00005230| 6e 61 74 65 20 66 69 6c | 65 3a 20 22 20 63 75 72 |nate fil|e: " cur|
|00005240| 72 65 6e 74 2d 70 72 65 | 66 69 78 2d 61 72 67 20 |rent-pre|fix-arg |
|00005250| 66 65 61 74 75 72 65 70 | 20 6d 75 6c 65 20 72 65 |featurep| mule re|
|00005260| 61 64 2d 63 6f 64 69 6e | 67 2d 73 79 73 74 65 6d |ad-codin|g-system|
|00005270| 20 22 43 6f 64 69 6e 67 | 2d 73 79 73 74 65 6d 3a | "Coding|-system:|
|00005280| 20 22 5d 20 37 29 5d 29 | 0a 23 40 33 39 37 20 46 | "] 7)])|.#@397 F|
|00005290| 69 6e 64 20 66 69 6c 65 | 20 46 49 4c 45 4e 41 4d |ind file| FILENAM|
|000052a0| 45 2c 20 73 65 6c 65 63 | 74 20 69 74 73 20 62 75 |E, selec|t its bu|
|000052b0| 66 66 65 72 2c 20 6b 69 | 6c 6c 20 70 72 65 76 69 |ffer, ki|ll previ|
|000052c0| 6f 75 73 20 62 75 66 66 | 65 72 2e 0a 49 66 20 74 |ous buff|er..If t|
|000052d0| 68 65 20 63 75 72 72 65 | 6e 74 20 62 75 66 66 65 |he curre|nt buffe|
|000052e0| 72 20 6e 6f 77 20 63 6f | 6e 74 61 69 6e 73 20 61 |r now co|ntains a|
|000052f0| 6e 20 65 6d 70 74 79 20 | 66 69 6c 65 20 74 68 61 |n empty |file tha|
|00005300| 74 20 79 6f 75 20 6a 75 | 73 74 20 76 69 73 69 74 |t you ju|st visit|
|00005310| 65 64 0a 28 70 72 65 73 | 75 6d 61 62 6c 79 20 62 |ed.(pres|umably b|
|00005320| 79 20 6d 69 73 74 61 6b | 65 29 2c 20 75 73 65 20 |y mistak|e), use |
|00005330| 74 68 69 73 20 63 6f 6d | 6d 61 6e 64 20 74 6f 20 |this com|mand to |
|00005340| 76 69 73 69 74 20 74 68 | 65 20 66 69 6c 65 20 79 |visit th|e file y|
|00005350| 6f 75 20 72 65 61 6c 6c | 79 20 77 61 6e 74 2e 0a |ou reall|y want..|
|00005360| 55 6e 64 65 72 20 58 45 | 6d 61 63 73 2f 4d 75 6c |Under XE|macs/Mul|
|00005370| 65 2c 20 6f 70 74 69 6f | 6e 61 6c 20 73 65 63 6f |e, optio|nal seco|
|00005380| 6e 64 20 61 72 67 75 6d | 65 6e 74 20 73 70 65 63 |nd argum|ent spec|
|00005390| 69 66 69 65 73 20 74 68 | 65 0a 63 6f 64 69 6e 67 |ifies th|e.coding|
|000053a0| 20 73 79 73 74 65 6d 20 | 74 6f 20 75 73 65 20 77 | system |to use w|
|000053b0| 68 65 6e 20 64 65 63 6f | 64 69 6e 67 20 74 68 65 |hen deco|ding the|
|000053c0| 20 66 69 6c 65 2e 20 20 | 49 6e 74 65 72 61 63 74 | file. |Interact|
|000053d0| 69 76 65 6c 79 2c 0a 77 | 69 74 68 20 61 20 70 72 |ively,.w|ith a pr|
|000053e0| 65 66 69 78 20 61 72 67 | 75 6d 65 6e 74 2c 20 79 |efix arg|ument, y|
|000053f0| 6f 75 20 77 69 6c 6c 20 | 62 65 20 70 72 6f 6d 70 |ou will |be promp|
|00005400| 74 65 64 20 66 6f 72 20 | 74 68 65 20 63 6f 64 69 |ted for |the codi|
|00005410| 6e 67 20 73 79 73 74 65 | 6d 2e 1f 0a 28 64 65 66 |ng syste|m...(def|
|00005420| 61 6c 69 61 73 20 27 66 | 69 6e 64 2d 61 6c 74 65 |alias 'f|ind-alte|
|00005430| 72 6e 61 74 65 2d 66 69 | 6c 65 20 23 5b 28 66 69 |rnate-fi|le #[(fi|
|00005440| 6c 65 6e 61 6d 65 20 26 | 6f 70 74 69 6f 6e 61 6c |lename &|optional|
|00005450| 20 63 6f 64 65 73 79 73 | 29 20 22 c0 20 ab 91 c1 | codesys|) ". ...|
|00005460| 20 ab 8d c2 c3 c4 c5 20 | 5c 22 21 ac 84 c6 c7 21 | ...... |\"!....!|
|00005470| 88 70 09 0e 08 0e 09 c5 | 20 1e 5c 6e 1e 0b 1e 0c |.p......| .\n....|
|00005480| 1e 0d 1e 0e cf d0 21 ab | 84 d1 d0 21 88 d2 d0 21 |......!.|...!...!|
|00005490| 88 d3 11 d3 16 08 d3 16 | 09 d4 8e d5 20 88 0e 16 |........|.... ...|
|000054a0| ab 8e d7 0e 16 21 1e 18 | d9 0e 1a 21 88 29 aa 85 |.....!..|...!.)..|
|000054b0| d9 0e 1a 21 88 29 70 0e | 0e 61 ae 84 d1 0e 0e 21 |...!.)p.|.a.....!|
|000054c0| 2d 87 22 20 5b 62 75 66 | 66 65 72 2d 6d 6f 64 69 |-." [buf|fer-modi|
|000054d0| 66 69 65 64 2d 70 20 62 | 75 66 66 65 72 2d 66 69 |fied-p b|uffer-fi|
|000054e0| 6c 65 2d 6e 61 6d 65 20 | 79 65 73 2d 6f 72 2d 6e |le-name |yes-or-n|
|000054f0| 6f 2d 70 20 66 6f 72 6d | 61 74 20 22 42 75 66 66 |o-p form|at "Buff|
|00005500| 65 72 20 25 73 20 69 73 | 20 6d 6f 64 69 66 69 65 |er %s is| modifie|
|00005510| 64 3b 20 6b 69 6c 6c 20 | 61 6e 79 77 61 79 3f 20 |d; kill |anyway? |
|00005520| 22 20 62 75 66 66 65 72 | 2d 6e 61 6d 65 20 65 72 |" buffer|-name er|
|00005530| 72 6f 72 20 22 41 62 6f | 72 74 65 64 22 20 62 75 |ror "Abo|rted" bu|
|00005540| 66 66 65 72 2d 66 69 6c | 65 2d 6e 75 6d 62 65 72 |ffer-fil|e-number|
|00005550| 20 62 75 66 66 65 72 2d | 66 69 6c 65 2d 74 72 75 | buffer-|file-tru|
|00005560| 65 6e 61 6d 65 20 6f 6e | 61 6d 65 20 6f 74 72 75 |ename on|ame otru|
|00005570| 65 20 6f 6e 75 6d 20 6f | 66 69 6c 65 20 6f 62 75 |e onum o|file obu|
|00005580| 66 20 67 65 74 2d 62 75 | 66 66 65 72 20 22 20 2a |f get-bu|ffer " *|
|00005590| 2a 6c 6f 73 65 2a 2a 22 | 20 6b 69 6c 6c 2d 62 75 |*lose**"| kill-bu|
|000055a0| 66 66 65 72 20 72 65 6e | 61 6d 65 2d 62 75 66 66 |ffer ren|ame-buff|
|000055b0| 65 72 20 6e 69 6c 20 28 | 28 62 79 74 65 2d 63 6f |er nil (|(byte-co|
|000055c0| 64 65 20 22 08 70 61 ab | 8f 09 12 0b 14 0d 16 06 |de ".pa.|........|
|000055d0| c7 20 88 c8 0e 09 21 88 | c7 87 22 20 5b 6f 62 75 |. ....!.|.." [obu|
|000055e0| 66 20 6f 66 69 6c 65 20 | 62 75 66 66 65 72 2d 66 |f ofile |buffer-f|
|000055f0| 69 6c 65 2d 6e 61 6d 65 | 20 6f 6e 75 6d 20 62 75 |ile-name| onum bu|
|00005600| 66 66 65 72 2d 66 69 6c | 65 2d 6e 75 6d 62 65 72 |ffer-fil|e-number|
|00005610| 20 6f 74 72 75 65 20 62 | 75 66 66 65 72 2d 66 69 | otrue b|uffer-fi|
|00005620| 6c 65 2d 74 72 75 65 6e | 61 6d 65 20 6c 6f 63 6b |le-truen|ame lock|
|00005630| 2d 62 75 66 66 65 72 20 | 72 65 6e 61 6d 65 2d 62 |-buffer |rename-b|
|00005640| 75 66 66 65 72 20 6f 6e | 61 6d 65 5d 20 32 29 29 |uffer on|ame] 2))|
|00005650| 20 75 6e 6c 6f 63 6b 2d | 62 75 66 66 65 72 20 63 | unlock-|buffer c|
|00005660| 6f 64 65 73 79 73 20 67 | 65 74 2d 63 6f 64 69 6e |odesys g|et-codin|
|00005670| 67 2d 73 79 73 74 65 6d | 20 63 6f 64 69 6e 67 2d |g-system| coding-|
|00005680| 73 79 73 74 65 6d 2d 66 | 6f 72 2d 72 65 61 64 20 |system-f|or-read |
|00005690| 66 69 6e 64 2d 66 69 6c | 65 20 66 69 6c 65 6e 61 |find-fil|e filena|
|000056a0| 6d 65 5d 20 35 20 28 23 | 24 20 2e 20 32 31 31 33 |me] 5 (#|$ . 2113|
|000056b0| 35 29 20 28 6c 65 74 20 | 28 28 66 69 6c 65 20 62 |5) (let |((file b|
|000056c0| 75 66 66 65 72 2d 66 69 | 6c 65 2d 6e 61 6d 65 29 |uffer-fi|le-name)|
|000056d0| 20 28 66 69 6c 65 2d 6e | 61 6d 65 20 6e 69 6c 29 | (file-n|ame nil)|
|000056e0| 20 28 66 69 6c 65 2d 64 | 69 72 20 6e 69 6c 29 29 | (file-d|ir nil))|
|000056f0| 20 28 61 6e 64 20 66 69 | 6c 65 20 28 73 65 74 71 | (and fi|le (setq|
|00005700| 20 66 69 6c 65 2d 6e 61 | 6d 65 20 28 66 69 6c 65 | file-na|me (file|
|00005710| 2d 6e 61 6d 65 2d 6e 6f | 6e 64 69 72 65 63 74 6f |-name-no|ndirecto|
|00005720| 72 79 20 66 69 6c 65 29 | 20 66 69 6c 65 2d 64 69 |ry file)| file-di|
|00005730| 72 20 28 66 69 6c 65 2d | 6e 61 6d 65 2d 64 69 72 |r (file-|name-dir|
|00005740| 65 63 74 6f 72 79 20 66 | 69 6c 65 29 29 29 20 28 |ectory f|ile))) (|
|00005750| 6c 69 73 74 20 28 72 65 | 61 64 2d 66 69 6c 65 2d |list (re|ad-file-|
|00005760| 6e 61 6d 65 20 22 46 69 | 6e 64 20 61 6c 74 65 72 |name "Fi|nd alter|
|00005770| 6e 61 74 65 20 66 69 6c | 65 3a 20 22 20 66 69 6c |nate fil|e: " fil|
|00005780| 65 2d 64 69 72 20 6e 69 | 6c 20 6e 69 6c 20 66 69 |e-dir ni|l nil fi|
|00005790| 6c 65 2d 6e 61 6d 65 29 | 20 28 69 66 20 28 61 6e |le-name)| (if (an|
|000057a0| 64 20 63 75 72 72 65 6e | 74 2d 70 72 65 66 69 78 |d curren|t-prefix|
|000057b0| 2d 61 72 67 20 28 66 65 | 61 74 75 72 65 70 20 27 |-arg (fe|aturep '|
|000057c0| 6d 75 6c 65 29 29 20 28 | 72 65 61 64 2d 63 6f 64 |mule)) (|read-cod|
|000057d0| 69 6e 67 2d 73 79 73 74 | 65 6d 20 22 43 6f 64 69 |ing-syst|em "Codi|
|000057e0| 6e 67 2d 73 79 73 74 65 | 6d 3a 20 22 29 29 29 29 |ng-syste|m: "))))|
|000057f0| 5d 29 0a 23 40 32 30 38 | 20 43 72 65 61 74 65 20 |]).#@208| Create |
|00005800| 61 20 73 75 69 74 61 62 | 6c 79 20 6e 61 6d 65 64 |a suitab|ly named|
|00005810| 20 62 75 66 66 65 72 20 | 66 6f 72 20 76 69 73 69 | buffer |for visi|
|00005820| 74 69 6e 67 20 46 49 4c | 45 4e 41 4d 45 2c 20 61 |ting FIL|ENAME, a|
|00005830| 6e 64 20 72 65 74 75 72 | 6e 20 69 74 2e 0a 46 49 |nd retur|n it..FI|
|00005840| 4c 45 4e 41 4d 45 20 28 | 73 61 6e 73 20 64 69 72 |LENAME (|sans dir|
|00005850| 65 63 74 6f 72 79 29 20 | 69 73 20 75 73 65 64 20 |ectory) |is used |
|00005860| 75 6e 63 68 61 6e 67 65 | 64 20 69 66 20 74 68 61 |unchange|d if tha|
|00005870| 74 20 6e 61 6d 65 20 69 | 73 20 66 72 65 65 3b 0a |t name i|s free;.|
|00005880| 6f 74 68 65 72 77 69 73 | 65 20 61 20 73 74 72 69 |otherwis|e a stri|
|00005890| 6e 67 20 3c 32 3e 20 6f | 72 20 3c 33 3e 20 6f 72 |ng <2> o|r <3> or|
|000058a0| 20 2e 2e 2e 20 69 73 20 | 61 70 70 65 6e 64 65 64 | ... is |appended|
|000058b0| 20 74 6f 20 67 65 74 20 | 61 6e 20 75 6e 75 73 65 | to get |an unuse|
|000058c0| 64 20 6e 61 6d 65 2e 1f | 0a 28 64 65 66 61 6c 69 |d name..|.(defali|
|000058d0| 61 73 20 27 63 72 65 61 | 74 65 2d 66 69 6c 65 2d |as 'crea|te-file-|
|000058e0| 62 75 66 66 65 72 20 23 | 5b 28 66 69 6c 65 6e 61 |buffer #|[(filena|
|000058f0| 6d 65 29 20 22 c0 09 c2 | 5c 22 89 1b ab 86 0b c2 |me) "...|\"......|
|00005900| 09 5c 22 aa 8f c4 09 21 | 89 1d c6 98 ab 82 09 15 |.\"....!|........|
|00005910| c7 0d 21 29 29 87 22 20 | 5b 66 69 6e 64 2d 66 69 |..!))." |[find-fi|
|00005920| 6c 65 2d 6e 61 6d 65 2d | 68 61 6e 64 6c 65 72 20 |le-name-|handler |
|00005930| 66 69 6c 65 6e 61 6d 65 | 20 63 72 65 61 74 65 2d |filename| create-|
|00005940| 66 69 6c 65 2d 62 75 66 | 66 65 72 20 68 61 6e 64 |file-buf|fer hand|
|00005950| 6c 65 72 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 6e 6f |ler file|-name-no|
|00005960| 6e 64 69 72 65 63 74 6f | 72 79 20 6c 61 73 74 6e |ndirecto|ry lastn|
|00005970| 61 6d 65 20 22 22 20 67 | 65 6e 65 72 61 74 65 2d |ame "" g|enerate-|
|00005980| 6e 65 77 2d 62 75 66 66 | 65 72 5d 20 34 20 28 23 |new-buff|er] 4 (#|
|00005990| 24 20 2e 20 32 32 35 32 | 31 29 5d 29 0a 23 40 31 |$ . 2252|1)]).#@1|
|000059a0| 31 34 20 43 72 65 61 74 | 65 20 61 6e 64 20 72 65 |14 Creat|e and re|
|000059b0| 74 75 72 6e 20 61 20 62 | 75 66 66 65 72 20 77 69 |turn a b|uffer wi|
|000059c0| 74 68 20 61 20 6e 61 6d | 65 20 62 61 73 65 64 20 |th a nam|e based |
|000059d0| 6f 6e 20 4e 41 4d 45 2e | 0a 43 68 6f 6f 73 65 20 |on NAME.|.Choose |
|000059e0| 74 68 65 20 62 75 66 66 | 65 72 27 73 20 6e 61 6d |the buff|er's nam|
|000059f0| 65 20 75 73 69 6e 67 20 | 60 67 65 6e 65 72 61 74 |e using |`generat|
|00005a00| 65 2d 6e 65 77 2d 62 75 | 66 66 65 72 2d 6e 61 6d |e-new-bu|ffer-nam|
|00005a10| 65 27 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |e'...(de|falias '|
|00005a20| 67 65 6e 65 72 61 74 65 | 2d 6e 65 77 2d 62 75 66 |generate|-new-buf|
|00005a30| 66 65 72 20 23 5b 28 6e | 61 6d 65 29 20 22 c0 c1 |fer #[(n|ame) "..|
|00005a40| 5c 6e 21 21 87 22 20 5b | 67 65 74 2d 62 75 66 66 |\n!!." [|get-buff|
|00005a50| 65 72 2d 63 72 65 61 74 | 65 20 67 65 6e 65 72 61 |er-creat|e genera|
|00005a60| 74 65 2d 6e 65 77 2d 62 | 75 66 66 65 72 2d 6e 61 |te-new-b|uffer-na|
|00005a70| 6d 65 20 6e 61 6d 65 5d | 20 33 20 28 23 24 20 2e |me name]| 3 (#$ .|
|00005a80| 20 32 32 39 34 37 29 5d | 29 0a 23 40 37 31 20 54 | 22947)]|).#@71 T|
|00005a90| 68 65 20 75 73 65 72 27 | 73 20 68 6f 6d 65 64 69 |he user'|s homedi|
|00005aa0| 72 20 61 62 62 72 65 76 | 69 61 74 65 64 20 61 63 |r abbrev|iated ac|
|00005ab0| 63 6f 72 64 69 6e 67 20 | 74 6f 20 60 64 69 72 65 |cording |to `dire|
|00005ac0| 63 74 6f 72 79 2d 61 62 | 62 72 65 76 2d 61 6c 69 |ctory-ab|brev-ali|
|00005ad0| 73 74 27 2e 1f 0a 28 64 | 65 66 76 61 72 20 61 62 |st'...(d|efvar ab|
|00005ae0| 62 72 65 76 69 61 74 65 | 64 2d 68 6f 6d 65 2d 64 |breviate|d-home-d|
|00005af0| 69 72 20 6e 69 6c 20 28 | 23 24 20 2e 20 32 33 31 |ir nil (|#$ . 231|
|00005b00| 38 33 29 29 0a 23 40 32 | 35 37 20 52 65 74 75 72 |83)).#@2|57 Retur|
|00005b10| 6e 20 61 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 46 |n a vers|ion of F|
|00005b20| 49 4c 45 4e 41 4d 45 20 | 73 68 6f 72 74 65 6e 65 |ILENAME |shortene|
|00005b30| 64 20 75 73 69 6e 67 20 | 60 64 69 72 65 63 74 6f |d using |`directo|
|00005b40| 72 79 2d 61 62 62 72 65 | 76 2d 61 6c 69 73 74 27 |ry-abbre|v-alist'|
|00005b50| 2e 0a 53 65 65 20 64 6f | 63 75 6d 65 6e 74 61 74 |..See do|cumentat|
|00005b60| 69 6f 6e 20 6f 66 20 76 | 61 72 69 61 62 6c 65 20 |ion of v|ariable |
|00005b70| 60 64 69 72 65 63 74 6f | 72 79 2d 61 62 62 72 65 |`directo|ry-abbre|
|00005b80| 76 2d 61 6c 69 73 74 27 | 20 66 6f 72 20 6d 6f 72 |v-alist'| for mor|
|00005b90| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 2e 0a 49 |e inform|ation..I|
|00005ba0| 66 20 6f 70 74 69 6f 6e | 61 6c 20 61 72 67 75 6d |f option|al argum|
|00005bb0| 65 6e 74 20 48 41 43 4b | 2d 48 4f 4d 45 44 49 52 |ent HACK|-HOMEDIR|
|00005bc0| 20 69 73 20 6e 6f 6e 2d | 6e 69 6c 2c 20 74 68 65 | is non-|nil, the|
|00005bd0| 6e 20 74 68 69 73 20 61 | 6c 73 6f 20 73 75 62 73 |n this a|lso subs|
|00005be0| 74 69 74 75 74 65 73 0a | 22 7e 22 20 66 6f 72 20 |titutes.|"~" for |
|00005bf0| 74 68 65 20 75 73 65 72 | 27 73 20 68 6f 6d 65 20 |the user|'s home |
|00005c00| 64 69 72 65 63 74 6f 72 | 79 2e 1f 0a 28 64 65 66 |director|y...(def|
|00005c10| 61 6c 69 61 73 20 27 61 | 62 62 72 65 76 69 61 74 |alias 'a|bbreviat|
|00005c20| 65 2d 66 69 6c 65 2d 6e | 61 6d 65 20 23 5b 28 66 |e-file-n|ame #[(f|
|00005c30| 69 6c 65 6e 61 6d 65 20 | 26 6f 70 74 69 6f 6e 61 |ilename |&optiona|
|00005c40| 6c 20 68 61 63 6b 2d 68 | 6f 6d 65 64 69 72 29 20 |l hack-h|omedir) |
|00005c50| 22 c0 09 c2 5c 22 89 1b | ab 87 0b c2 09 0c 23 aa |"...\"..|......#.|
|00005c60| f6 0d 89 1e 06 ab 9c c7 | 0e 06 40 40 09 5c 22 ab |........|..@@.\".|
|00005c70| 8b 0e 06 40 41 09 c8 95 | c9 4f 50 11 0e 06 41 89 |...@A...|.OP...A.|
|00005c80| 16 06 ac 64 29 0c ab cf | 0e 5c 6e ac 90 cb 1e 5c |...d)...|.\n....\|
|00005c90| 6e cc cd c2 ce cf 21 21 | 21 d0 51 29 16 5c 6e c7 |n.....!!|!.Q).\n.|
|00005ca0| 0e 5c 6e 09 5c 22 ab b4 | c8 95 d1 55 ab 87 09 c8 |.\n.\"..|...U....|
|00005cb0| 48 d2 55 ac a7 0e 13 d4 | 61 ac 86 0e 13 d5 61 ab |H.U.....|a.....a.|
|00005cc0| 8d d6 20 1e 17 d8 8e c7 | d9 09 5c 22 2a ac 8e cf |.. .....|..\"*...|
|00005cd0| 09 d1 94 d1 95 4f 09 c8 | 95 c9 4f 51 11 09 29 87 |.....O..|..OQ..).|
|00005ce0| 22 20 5b 66 69 6e 64 2d | 66 69 6c 65 2d 6e 61 6d |" [find-|file-nam|
|00005cf0| 65 2d 68 61 6e 64 6c 65 | 72 20 66 69 6c 65 6e 61 |e-handle|r filena|
|00005d00| 6d 65 20 61 62 62 72 65 | 76 69 61 74 65 2d 66 69 |me abbre|viate-fi|
|00005d10| 6c 65 2d 6e 61 6d 65 20 | 68 61 6e 64 6c 65 72 20 |le-name |handler |
|00005d20| 68 61 63 6b 2d 68 6f 6d | 65 64 69 72 20 64 69 72 |hack-hom|edir dir|
|00005d30| 65 63 74 6f 72 79 2d 61 | 62 62 72 65 76 2d 61 6c |ectory-a|bbrev-al|
|00005d40| 69 73 74 20 74 61 69 6c | 20 73 74 72 69 6e 67 2d |ist tail| string-|
|00005d50| 6d 61 74 63 68 20 30 20 | 6e 69 6c 20 61 62 62 72 |match 0 |nil abbr|
|00005d60| 65 76 69 61 74 65 64 2d | 68 6f 6d 65 2d 64 69 72 |eviated-|home-dir|
|00005d70| 20 22 24 66 6f 6f 22 20 | 22 5c 5c 60 22 20 72 65 | "$foo" |"\\`" re|
|00005d80| 67 65 78 70 2d 71 75 6f | 74 65 20 65 78 70 61 6e |gexp-quo|te expan|
|00005d90| 64 2d 66 69 6c 65 2d 6e | 61 6d 65 20 22 7e 22 20 |d-file-n|ame "~" |
|00005da0| 22 5c 5c 28 2f 5c 5c 7c | 5c 5c 27 5c 5c 29 22 20 |"\\(/\\||\\'\\)" |
|00005db0| 31 20 3f 5c 2f 20 73 79 | 73 74 65 6d 2d 74 79 70 |1 ?\/ sy|stem-typ|
|00005dc0| 65 20 6d 73 2d 64 6f 73 | 20 77 69 6e 64 6f 77 73 |e ms-dos| windows|
|00005dd0| 2d 6e 74 20 6d 61 74 63 | 68 2d 64 61 74 61 20 6d |-nt matc|h-data m|
|00005de0| 61 74 63 68 2d 64 61 74 | 61 20 28 28 73 74 6f 72 |atch-dat|a ((stor|
|00005df0| 65 2d 6d 61 74 63 68 2d | 64 61 74 61 20 6d 61 74 |e-match-|data mat|
|00005e00| 63 68 2d 64 61 74 61 29 | 29 20 22 5e 5b 61 2d 7a |ch-data)|) "^[a-z|
|00005e10| 41 2d 5a 5d 3a 2f 24 22 | 5d 20 36 20 28 23 24 20 |A-Z]:/$"|] 6 (#$ |
|00005e20| 2e 20 32 33 33 30 37 29 | 5d 29 0a 28 63 75 73 74 |. 23307)|]).(cust|
|00005e30| 6f 6d 2d 64 65 63 6c 61 | 72 65 2d 76 61 72 69 61 |om-decla|re-varia|
|00005e40| 62 6c 65 20 27 66 69 6e | 64 2d 66 69 6c 65 2d 6e |ble 'fin|d-file-n|
|00005e50| 6f 74 2d 74 72 75 65 2d | 64 69 72 6e 61 6d 65 2d |ot-true-|dirname-|
|00005e60| 6c 69 73 74 20 27 6e 69 | 6c 20 22 2a 4c 69 73 74 |list 'ni|l "*List|
|00005e70| 20 6f 66 20 6c 6f 67 69 | 63 61 6c 20 6e 61 6d 65 | of logi|cal name|
|00005e80| 73 20 66 6f 72 20 77 68 | 69 63 68 20 76 69 73 69 |s for wh|ich visi|
|00005e90| 74 69 6e 67 20 73 68 6f | 75 6c 64 6e 27 74 20 73 |ting sho|uldn't s|
|00005ea0| 61 76 65 20 74 68 65 20 | 74 72 75 65 20 64 69 72 |ave the |true dir|
|00005eb0| 6e 61 6d 65 2e 5c 6e 4f | 6e 20 56 4d 53 2c 20 77 |name.\nO|n VMS, w|
|00005ec0| 68 65 6e 20 79 6f 75 20 | 76 69 73 69 74 20 61 20 |hen you |visit a |
|00005ed0| 66 69 6c 65 20 75 73 69 | 6e 67 20 61 20 6c 6f 67 |file usi|ng a log|
|00005ee0| 69 63 61 6c 20 6e 61 6d | 65 20 74 68 61 74 20 73 |ical nam|e that s|
|00005ef0| 65 61 72 63 68 65 73 20 | 61 20 70 61 74 68 2c 5c |earches |a path,\|
|00005f00| 6e 79 6f 75 20 6d 61 79 | 20 6f 72 20 6d 61 79 20 |nyou may| or may |
|00005f10| 6e 6f 74 20 77 61 6e 74 | 20 74 68 65 20 76 69 73 |not want| the vis|
|00005f20| 69 74 65 64 20 66 69 6c | 65 20 6e 61 6d 65 20 74 |ited fil|e name t|
|00005f30| 6f 20 72 65 63 6f 72 64 | 20 74 68 65 20 73 70 65 |o record| the spe|
|00005f40| 63 69 66 69 63 5c 6e 64 | 69 72 65 63 74 6f 72 79 |cific\nd|irectory|
|00005f50| 20 77 68 65 72 65 20 74 | 68 65 20 66 69 6c 65 20 | where t|he file |
|00005f60| 77 61 73 20 66 6f 75 6e | 64 2e 20 20 49 66 20 79 |was foun|d. If y|
|00005f70| 6f 75 20 2a 64 6f 20 6e | 6f 74 2a 20 77 61 6e 74 |ou *do n|ot* want|
|00005f80| 20 74 68 61 74 2c 20 61 | 64 64 20 74 68 65 20 6c | that, a|dd the l|
|00005f90| 6f 67 69 63 61 6c 5c 6e | 6e 61 6d 65 20 74 6f 20 |ogical\n|name to |
|00005fa0| 74 68 69 73 20 6c 69 73 | 74 20 61 73 20 61 20 73 |this lis|t as a s|
|00005fb0| 74 72 69 6e 67 2e 22 20 | 3a 74 79 70 65 20 27 28 |tring." |:type '(|
|00005fc0| 72 65 70 65 61 74 20 28 | 73 74 72 69 6e 67 20 3a |repeat (|string :|
|00005fd0| 74 61 67 20 22 4e 61 6d | 65 22 29 29 20 3a 67 72 |tag "Nam|e")) :gr|
|00005fe0| 6f 75 70 20 27 66 69 6e | 64 2d 66 69 6c 65 29 0a |oup 'fin|d-file).|
|00005ff0| 23 40 32 32 35 20 52 65 | 74 75 72 6e 20 74 68 65 |#@225 Re|turn the|
|00006000| 20 62 75 66 66 65 72 20 | 76 69 73 69 74 69 6e 67 | buffer |visiting|
|00006010| 20 66 69 6c 65 20 46 49 | 4c 45 4e 41 4d 45 20 28 | file FI|LENAME (|
|00006020| 61 20 73 74 72 69 6e 67 | 29 2e 0a 54 68 69 73 20 |a string|)..This |
|00006030| 69 73 20 6c 69 6b 65 20 | 60 67 65 74 2d 66 69 6c |is like |`get-fil|
|00006040| 65 2d 62 75 66 66 65 72 | 27 2c 20 65 78 63 65 70 |e-buffer|', excep|
|00006050| 74 20 74 68 61 74 20 69 | 74 20 63 68 65 63 6b 73 |t that i|t checks|
|00006060| 20 66 6f 72 20 61 6e 79 | 20 62 75 66 66 65 72 0a | for any| buffer.|
|00006070| 76 69 73 69 74 69 6e 67 | 20 74 68 65 20 73 61 6d |visiting| the sam|
|00006080| 65 20 66 69 6c 65 2c 20 | 70 6f 73 73 69 62 6c 79 |e file, |possibly|
|00006090| 20 75 6e 64 65 72 20 61 | 20 64 69 66 66 65 72 65 | under a| differe|
|000060a0| 6e 74 20 6e 61 6d 65 2e | 0a 49 66 20 74 68 65 72 |nt name.|.If ther|
|000060b0| 65 20 69 73 20 6e 6f 20 | 73 75 63 68 20 6c 69 76 |e is no |such liv|
|000060c0| 65 20 62 75 66 66 65 72 | 2c 20 72 65 74 75 72 6e |e buffer|, return|
|000060d0| 20 6e 69 6c 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 | nil...(|defalias|
|000060e0| 20 27 66 69 6e 64 2d 62 | 75 66 66 65 72 2d 76 69 | 'find-b|uffer-vi|
|000060f0| 73 69 74 69 6e 67 20 23 | 5b 28 66 69 6c 65 6e 61 |siting #|[(filena|
|00006100| 6d 65 29 20 22 c0 09 21 | c2 c3 09 21 21 1c 89 1d |me) "..!|...!!...|
|00006110| 86 8f 00 c6 20 c7 1e 08 | 1e 09 0e 08 ac a1 0e 09 |.... ...|........|
|00006120| ab 9d 8a 0e 09 40 71 88 | 0e 5c 6e ab 8b 0e 0b 0c |.....@q.|.\n.....|
|00006130| 98 ab 85 0e 09 40 16 08 | 29 0e 09 41 16 09 aa 5b |.....@..|)..A...[|
|00006140| 0e 08 2a ae d0 cc cd 0c | 21 9b c6 20 c7 1e 08 1e |..*.....|!.. ....|
|00006150| 09 1e 0e 0e 0f ab bb 0e | 0e ab b7 0e 08 ac b3 0e |........|........|
|00006160| 09 ab af 8a 0e 09 40 71 | 88 0e 10 ab 9d 0e 10 0e |......@q|........|
|00006170| 0e 6b ab 96 d1 0e 5c 6e | 21 ab 90 cc cd 0e 5c 6e |.k....\n|!.....\n|
|00006180| 21 9b 0e 0e 6b ab 85 0e | 09 40 16 08 29 0e 09 41 |!...k...|.@..)..A|
|00006190| 16 09 aa 49 0e 08 2b 2a | 87 22 20 5b 67 65 74 2d |...I..+*|." [get-|
|000061a0| 66 69 6c 65 2d 62 75 66 | 66 65 72 20 66 69 6c 65 |file-buf|fer file|
|000061b0| 6e 61 6d 65 20 61 62 62 | 72 65 76 69 61 74 65 2d |name abb|reviate-|
|000061c0| 66 69 6c 65 2d 6e 61 6d | 65 20 66 69 6c 65 2d 74 |file-nam|e file-t|
|000061d0| 72 75 65 6e 61 6d 65 20 | 74 72 75 65 6e 61 6d 65 |ruename |truename|
|000061e0| 20 62 75 66 20 62 75 66 | 66 65 72 2d 6c 69 73 74 | buf buf|fer-list|
|000061f0| 20 6e 69 6c 20 66 6f 75 | 6e 64 20 6c 69 73 74 20 | nil fou|nd list |
|00006200| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 6e 61 6d 65 |buffer-f|ile-name|
|00006210| 20 62 75 66 66 65 72 2d | 66 69 6c 65 2d 74 72 75 | buffer-|file-tru|
|00006220| 65 6e 61 6d 65 20 31 30 | 20 66 69 6c 65 2d 61 74 |ename 10| file-at|
|00006230| 74 72 69 62 75 74 65 73 | 20 6e 75 6d 62 65 72 20 |tributes| number |
|00006240| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 6e 75 6d 62 |buffer-f|ile-numb|
|00006250| 65 72 73 2d 75 6e 69 71 | 75 65 20 62 75 66 66 65 |ers-uniq|ue buffe|
|00006260| 72 2d 66 69 6c 65 2d 6e | 75 6d 62 65 72 20 66 69 |r-file-n|umber fi|
|00006270| 6c 65 2d 65 78 69 73 74 | 73 2d 70 5d 20 35 20 28 |le-exist|s-p] 5 (|
|00006280| 23 24 20 2e 20 32 34 35 | 36 36 29 5d 29 0a 23 40 |#$ . 245|66)]).#@|
|00006290| 33 30 38 20 4c 69 6b 65 | 20 60 69 6e 73 65 72 74 |308 Like| `insert|
|000062a0| 2d 66 69 6c 65 2d 63 6f | 6e 74 65 6e 74 73 27 2c |-file-co|ntents',|
|000062b0| 20 71 2e 76 2e 2c 20 62 | 75 74 20 6f 6e 6c 79 20 | q.v., b|ut only |
|000062c0| 72 65 61 64 73 20 69 6e | 20 74 68 65 20 66 69 6c |reads in| the fil|
|000062d0| 65 2e 0a 41 20 62 75 66 | 66 65 72 20 6d 61 79 20 |e..A buf|fer may |
|000062e0| 62 65 20 6d 6f 64 69 66 | 69 65 64 20 69 6e 20 73 |be modif|ied in s|
|000062f0| 65 76 65 72 61 6c 20 77 | 61 79 73 20 61 66 74 65 |everal w|ays afte|
|00006300| 72 20 72 65 61 64 69 6e | 67 20 69 6e 74 6f 20 74 |r readin|g into t|
|00006310| 68 65 20 62 75 66 66 65 | 72 20 64 75 65 0a 74 6f |he buffe|r due.to|
|00006320| 20 61 64 76 61 6e 63 65 | 64 20 45 6d 61 63 73 20 | advance|d Emacs |
|00006330| 66 65 61 74 75 72 65 73 | 2c 20 73 75 63 68 20 61 |features|, such a|
|00006340| 73 20 66 69 6c 65 2d 6e | 61 6d 65 2d 68 61 6e 64 |s file-n|ame-hand|
|00006350| 6c 65 72 73 2c 20 66 6f | 72 6d 61 74 20 64 65 63 |lers, fo|rmat dec|
|00006360| 6f 64 69 6e 67 2c 0a 66 | 69 6e 64 2d 66 69 6c 65 |oding,.f|ind-file|
|00006370| 2d 68 6f 6f 6b 73 2c 20 | 65 74 63 2e 0a 20 20 54 |-hooks, |etc.. T|
|00006380| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 65 6e 73 |his func|tion ens|
|00006390| 75 72 65 73 20 74 68 61 | 74 20 6e 6f 6e 65 20 6f |ures tha|t none o|
|000063a0| 66 20 74 68 65 73 65 20 | 6d 6f 64 69 66 69 63 61 |f these |modifica|
|000063b0| 74 69 6f 6e 73 20 77 69 | 6c 6c 20 74 61 6b 65 20 |tions wi|ll take |
|000063c0| 70 6c 61 63 65 2e 1f 0a | 28 64 65 66 61 6c 69 61 |place...|(defalia|
|000063d0| 73 20 27 69 6e 73 65 72 | 74 2d 66 69 6c 65 2d 63 |s 'inser|t-file-c|
|000063e0| 6f 6e 74 65 6e 74 73 2d | 6c 69 74 65 72 61 6c 6c |ontents-|literall|
|000063f0| 79 20 23 5b 28 66 69 6c | 65 6e 61 6d 65 20 26 6f |y #[(fil|ename &o|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.